aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Pagelet.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-10-04 18:00:12 +0200
committerThomas Lange <code@nerdmind.de>2017-10-04 18:00:12 +0200
commit58dbefb69068e074586be4ade67871a81c853233 (patch)
treeff87134d6900c79f8daea3f0c34c228bec5292c0 /include/classes/BigPipe/Pagelet.php
parent2a1d85fdd1a0fb256e46013bb4c64470ab0ec2fd (diff)
downloadbigpipe-58dbefb69068e074586be4ade67871a81c853233.tar.gz
bigpipe-58dbefb69068e074586be4ade67871a81c853233.tar.xz
bigpipe-58dbefb69068e074586be4ade67871a81c853233.zip
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.
Diffstat (limited to 'include/classes/BigPipe/Pagelet.php')
-rwxr-xr-xinclude/classes/BigPipe/Pagelet.php2
1 files changed, 1 insertions, 1 deletions
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);
}
#===============================================================================