diff options
author | Simon Rettberg | 2017-04-13 18:08:31 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-04-13 18:08:31 +0200 |
commit | faf18b816b6fecce5ab5023a2d87fe1f2d44f132 (patch) | |
tree | 7f48d583c9efe5b4d7e528654e69f1123e88dd70 /modules-available/locationinfo/inc | |
parent | [locations] Return recursive list of children in getLocationsAssoc() (diff) | |
download | slx-admin-faf18b816b6fecce5ab5023a2d87fe1f2d44f132.tar.gz slx-admin-faf18b816b6fecce5ab5023a2d87fe1f2d44f132.tar.xz slx-admin-faf18b816b6fecce5ab5023a2d87fe1f2d44f132.zip |
[locationinfo] Refactor the main view
- Simplify javascript
- Remove client count and locationid column from view, not useful for
the average user
- Remove/simplify queries, use Location helper more to deal with locations
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r-- | modules-available/locationinfo/inc/locationinfo.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/inc/locationinfo.inc.php b/modules-available/locationinfo/inc/locationinfo.inc.php index f924e469..9bd5ff5b 100644 --- a/modules-available/locationinfo/inc/locationinfo.inc.php +++ b/modules-available/locationinfo/inc/locationinfo.inc.php @@ -6,7 +6,7 @@ class LocationInfo /** * Gets the pc data and returns it's state. * - * @param $pc The pc data from the db. Array('logintime' =>, 'lastseen' =>, 'lastboot' =>) + * @param array $pc The pc data from the db. Array('logintime' =>, 'lastseen' =>, 'lastboot' =>) * @return int pc state */ public static function getPcState($pc) |