Added is_central_policies function
This commit is contained in:
parent
de58fe7b90
commit
aaf8173b8a
|
@ -1363,6 +1363,11 @@ function is_metaconsole() {
|
||||||
return (bool) $config['metaconsole'];
|
return (bool) $config['metaconsole'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function is_central_policies() {
|
||||||
|
global $config;
|
||||||
|
return is_metaconsole() && $config["centralized_management"];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if current execution is under an AJAX request.
|
* Checks if current execution is under an AJAX request.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue