aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-02-03 21:07:18 +0100
committerThomas Lange <code@nerdmind.de>2018-02-03 21:07:18 +0100
commit93fb309405e7a006973ad0689ee87414ff3481ba (patch)
tree5f69de2a12702a3100c89524b4526b49e39687f3
parent00d231acfe7df2708a045f96b7dfa1c3c9b1a638 (diff)
downloadbigpipe-93fb309405e7a006973ad0689ee87414ff3481ba.tar.gz
bigpipe-93fb309405e7a006973ad0689ee87414ff3481ba.tar.xz
bigpipe-93fb309405e7a006973ad0689ee87414ff3481ba.zip
Remove obsolete comment
The method "Pagelet::addDependency()" does not allow anything other than an actual instance of Pagelet as argument (see commit 6550b64a5a6463bd371e13af82db86999b9363cc). The existence of this comment was forgotten and now finally removed.
-rw-r--r--include/pagelets.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/pagelets.php b/include/pagelets.php
index 6f0e8f8..ff71edf 100644
--- a/include/pagelets.php
+++ b/include/pagelets.php
@@ -64,9 +64,6 @@ $PageletGreen = Application::createPagelet('greenPL');
// pagelets are already displayed.
$InnerPagelet = Application::createPagelet('innerPL', BigPipe\Pagelet::PRIORITY_HIGHEST);
-
- // NOTICE: You can also use the Pagelet ID (as string) as argument. May be helpful
- // if a dependency Pagelet object is not accessible within the current scope.
$InnerPagelet->addDependency($PageletGreen);
$InnerPagelet->addHTML('<section sytle="background:#FFF;padding:5px;">Inner Pagelet \(o_o)/</section>');