From 58dbefb69068e074586be4ade67871a81c853233 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 4 Oct 2017 18:00:12 +0200 Subject: The method "addPagelet" from the BigPipe main class was replaced by the new implemented methods "enqueue" and "dequeue" for the new queueing mechanism. The "dequeue" method is currently unused but will be used in the future. The changes in this commit are partially preparations for further commits. --- include/classes/BigPipe/Pagelet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/classes/BigPipe/Pagelet.php') diff --git a/include/classes/BigPipe/Pagelet.php b/include/classes/BigPipe/Pagelet.php index 484a6e2..bdab651 100755 --- a/include/classes/BigPipe/Pagelet.php +++ b/include/classes/BigPipe/Pagelet.php @@ -43,7 +43,7 @@ class Pagelet extends Item { $this->resources = array_pad($this->resources, 2, []); $this->phaseDoneJS = array_pad($this->phaseDoneJS, 5, []); - BigPipe::addPagelet($this, $priority); + BigPipe::enqueue($this); } #=============================================================================== -- cgit v1.2.3