From: Matthias Schmidt Date: Thu, 5 May 2016 14:33:05 +0000 (+0200) Subject: Use PHP 5 syntax X-Git-Tag: 3.0.0_Beta_1~1761 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fcb1a300b12aef2466e50f884e71d7a0a91a64bd;p=GitHub%2FWoltLab%2FWCF.git Use PHP 5 syntax --- diff --git a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php index c495d9fbea..9b5fa4a69c 100644 --- a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php @@ -85,7 +85,7 @@ class UserListBoxController extends AbstractDatabaseObjectListBoxController { protected function getObjectList() { // use specialized cache builders if ($this->box->sortOrder && $this->box->sortField && isset($this->cacheBuilders[$this->box->sortField])) { - $this->userIDs = $this->cacheBuilders[$this->box->sortField]::getInstance()->getData([ + $this->userIDs = call_user_func([$this->cacheBuilders[$this->box->sortField], 'getInstance'])->getData([ 'limit' => $this->box->limit, 'sortOrder' => $this->sortOrder ]);