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

@@ -30,7 +30,7 @@ if ($page == 'overview') {
if ($action == '') {
try {
$json_result = PhpSettings::getLocal($userinfo)->list();
$json_result = PhpSettings::getLocal($userinfo)->listing();
} catch (Exception $e) {
dynamic_error($e->getMessage());
}
@@ -173,7 +173,7 @@ if ($page == 'overview') {
if ($action == '') {
try {
$json_result = FpmDaemons::getLocal($userinfo)->list();
$json_result = FpmDaemons::getLocal($userinfo)->listing();
} catch (Exception $e) {
dynamic_error($e->getMessage());
}