From 93fb309405e7a006973ad0689ee87414ff3481ba Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 3 Feb 2018 21:07:18 +0100 Subject: 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. --- include/pagelets.php | 3 --- 1 file changed, 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('
Inner Pagelet \(o_o)/
'); -- cgit v1.2.3