Skip to content

Commit

Permalink
Merge pull request #881 from IvanSHatrykin/alpha
Browse files Browse the repository at this point in the history
Update SSmoke_statusUpdated.php
  • Loading branch information
sergejey committed Dec 25, 2020
2 parents edb4abb + 29d92db commit 29e8bd9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/devices/SSmoke_statusUpdated.php
Expand Up @@ -2,7 +2,8 @@

$ot = $this->object_title;

$this->setProperty('updated', time());
$tm = time();
$this->setProperty('updated', $tm);
$this->setProperty('updatedText', date('H:i', $tm));

$this->callMethod('keepAlive');
Expand All @@ -26,4 +27,4 @@

include_once(dirname(__FILE__) . '/devices.class.php');
$dv=new devices();
$dv->checkLinkedDevicesAction($ot, $this->getProperty('status'));
$dv->checkLinkedDevicesAction($ot, $this->getProperty('status'));

0 comments on commit 29e8bd9

Please sign in to comment.