diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2017-09-25 03:21:17 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-09-25 03:21:17 +0300 |
commit | 74f63f14251f2d6cd86a434077854a0104a24571 (patch) | |
tree | 2724b3232f8e6a0b0aca7c01aa885555a675038a /plugins/CorePluginsAdmin | |
parent | 64167befde25e107f8b6e496883d791dd18bd5f5 (diff) |
Make sure all users are returned (#12109)
I did not check specifically but would presume getUsers will only return max 100 users here. Ideally we would instead have a method to directly get the number of users count which would be much faster... For some Piwik installations loading this page might take a wee bit longer.
Diffstat (limited to 'plugins/CorePluginsAdmin')
-rw-r--r-- | plugins/CorePluginsAdmin/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CorePluginsAdmin/Controller.php b/plugins/CorePluginsAdmin/Controller.php index 5defcac356..95790c5fea 100644 --- a/plugins/CorePluginsAdmin/Controller.php +++ b/plugins/CorePluginsAdmin/Controller.php @@ -163,7 +163,7 @@ class Controller extends Plugin\ControllerAdmin $view->deactivateNonce = Nonce::getNonce(static::DEACTIVATE_NONCE); $view->pluginsInfo = $this->getPluginsInfo($themesOnly); - $users = Request::processRequest('UsersManager.getUsers'); + $users = Request::processRequest('UsersManager.getUsers', array('filter_limit' => '-1')); $view->otherUsersCount = count($users) - 1; $view->themeEnabled = $this->pluginManager->getThemeEnabled()->getPluginName(); |