make lng, version, dbversion and branding protected variables of ApiCommand to avoid the need of 'global' statement
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -52,7 +52,7 @@ class FpmDaemons extends ApiCommand implements ResourceEntity
|
||||
}
|
||||
|
||||
if (empty($configs)) {
|
||||
$configs[] = $lng['admin']['phpsettings']['notused'];
|
||||
$configs[] = $this->lng['admin']['phpsettings']['notused'];
|
||||
}
|
||||
|
||||
$row['configs'] = $configs;
|
||||
|
||||
Reference in New Issue
Block a user