Moving status updater to own namespace

This commit is contained in:
Pepijn Over 2014-01-21 23:22:33 +01:00
parent 003fc4569c
commit fc54c909fc
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ $servers = $db->select(
array('server_id', 'ip', 'port', 'label', 'type', 'status', 'active', 'email', 'sms') array('server_id', 'ip', 'port', 'label', 'type', 'status', 'active', 'email', 'sms')
); );
$updater = new \psm\UpdaterStatus(); $updater = new \psm\Util\Updater\Status();
foreach ($servers as $server) { foreach ($servers as $server) {
$status_org = $server['status']; $status_org = $server['status'];

View File

@ -25,9 +25,9 @@
* @link http://phpservermon.neanderthal-technology.com/ * @link http://phpservermon.neanderthal-technology.com/
**/ **/
namespace psm; namespace psm\Util\Updater;
class UpdaterStatus { class Status {
public $error; public $error;
public $notify; public $notify;
public $rtime = 0; public $rtime = 0;