diff options
author | Simon Rettberg | 2018-01-15 17:19:56 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-01-15 17:19:56 +0100 |
commit | 9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06 (patch) | |
tree | b7adea2ac4b93f2cc13348e2cf2ce164ca4c3fe4 /modules-available/runmode/inc/runmode.inc.php | |
parent | [statistics] Fix runtime filter (had math backwards) (diff) | |
download | slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.tar.gz slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.tar.xz slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.zip |
[runmode] Do not allow re-assigning clients to new runmode if old mode doesn't support the generic editor
Doing so might leave some stale data in the old module, so we
better prevent it so the user has to manually remove the client
from the old runmode using the non-generic way (module specific)
first.
Diffstat (limited to 'modules-available/runmode/inc/runmode.inc.php')
-rw-r--r-- | modules-available/runmode/inc/runmode.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/runmode/inc/runmode.inc.php b/modules-available/runmode/inc/runmode.inc.php index ad1f52bf..2c8083ca 100644 --- a/modules-available/runmode/inc/runmode.inc.php +++ b/modules-available/runmode/inc/runmode.inc.php @@ -72,7 +72,7 @@ class RunMode * @param string $machineuuid * @param int $returnData bitfield of data to return * @return false|array {'machineuuid', 'isclient', 'module', 'modeid', 'modedata', - * <'hostname', 'clientip', 'macaddr', 'locationid', 'lastseen'>} + * ('hostname', 'clientip', 'macaddr', 'locationid', 'lastseen'), ('moduleName', 'modeName')} */ public static function getRunMode($machineuuid, $returnData = self::DATA_MACHINE_DATA) { |