diff options
author | Simon Rettberg | 2023-01-05 15:08:04 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-05 15:08:04 +0100 |
commit | 6317b5c5ea019f79cf8e5247d61274414e427b8a (patch) | |
tree | d6cf2fb78fbdee4a7d163bec50244694c2baa3c3 /modules-available/locationinfo | |
parent | [session] Add checkbox to log out all other sessions on pw change (diff) | |
download | slx-admin-6317b5c5ea019f79cf8e5247d61274414e427b8a.tar.gz slx-admin-6317b5c5ea019f79cf8e5247d61274414e427b8a.tar.xz slx-admin-6317b5c5ea019f79cf8e5247d61274414e427b8a.zip |
[locationinfo] Change "broken" timeout from 21 to 30 days
Diffstat (limited to 'modules-available/locationinfo')
-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 0fdf4781..004ef881 100644 --- a/modules-available/locationinfo/inc/locationinfo.inc.php +++ b/modules-available/locationinfo/inc/locationinfo.inc.php @@ -14,7 +14,7 @@ class LocationInfo $lastseen = (int)$pc['lastseen']; $NOW = time(); - if ($pc['state'] === 'OFFLINE' && $NOW - $lastseen > 21 * 86400) { + if ($pc['state'] === 'OFFLINE' && $NOW - $lastseen > 30 * 86400) { return "BROKEN"; } return $pc['state']; |