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:
@@ -24,7 +24,7 @@ class Customers extends ApiCommand implements ResourceEntity
|
||||
* @access admin
|
||||
* @return array count|list
|
||||
*/
|
||||
public function list()
|
||||
public function listing()
|
||||
{
|
||||
if ($this->isAdmin()) {
|
||||
$this->logger()->logAction(ADM_ACTION, LOG_NOTICE, "[API] list customers");
|
||||
|
||||
Reference in New Issue
Block a user