list() is a reserved php keyword, changed ApiCommand::list() to ApiCommand::listing()

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-03-02 17:22:47 +01:00
parent 594512404f
commit cadb6618ec
18 changed files with 37 additions and 37 deletions

View File

@@ -25,7 +25,7 @@ class Admins extends ApiCommand implements ResourceEntity
* @throws Exception
* @return array count|list
*/
public function list()
public function listing()
{
if ($this->isAdmin() && $this->getUserDetail('change_serversettings') == 1) {
$this->logger()->logAction(ADM_ACTION, LOG_NOTICE, "[API] list admins");