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:
@@ -81,7 +81,7 @@ class PhpSettings extends ApiCommand implements ResourceEntity
|
||||
}
|
||||
|
||||
if (empty($domains)) {
|
||||
$domains[] = $lng['admin']['phpsettings']['notused'];
|
||||
$domains[] = $this->lng['admin']['phpsettings']['notused'];
|
||||
}
|
||||
|
||||
// check whether this is our default config
|
||||
|
||||
Reference in New Issue
Block a user