[CODE] add client last seen time

This commit is contained in:
Jannik Beyerstedt 2017-08-23 14:43:13 +02:00
parent 153d48f8ef
commit 73b896c395
4 changed files with 23 additions and 2 deletions

View file

@ -136,6 +136,14 @@ class LightStatus {
}
}
public function setClientLastSeen() {
$this->times['clientLastSeen'] = time();
$this->saveTimes();
}
public function getClientLastSeen() {
return $this->times['clientLastSeen'];
}
private function readTimes() {