diff options
Diffstat (limited to 'modules-available/locationinfo/inc/locationinfo.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/locationinfo.inc.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules-available/locationinfo/inc/locationinfo.inc.php b/modules-available/locationinfo/inc/locationinfo.inc.php index fa97a0c6..473804cc 100644 --- a/modules-available/locationinfo/inc/locationinfo.inc.php +++ b/modules-available/locationinfo/inc/locationinfo.inc.php @@ -11,14 +11,6 @@ class LocationInfo */ public static function getPcState($pc) { - /* pcState: - * [0] = IDLE (NOT IN USE) - * [1] = OCCUPIED (IN USE) - * [2] = OFF - * [3] = 10 days offline (BROKEN?) - */ - // TODO USE STATE NAME instead of numbers - $logintime = (int)$pc['logintime']; $lastseen = (int)$pc['lastseen']; $lastboot = (int)$pc['lastboot']; @@ -65,7 +57,7 @@ class LocationInfo * * @return array Return a default config. */ - public static function defaultPanelConfig() + public static function defaultPanelConfig($type) { return array( 'language' => 'en', |