Moving status updater to own namespace
							parent
							
								
									003fc4569c
								
							
						
					
					
						commit
						fc54c909fc
					
				|  | @ -35,7 +35,7 @@ $servers = $db->select( | |||
| 	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) { | ||||
| 	$status_org = $server['status']; | ||||
|  |  | |||
|  | @ -25,9 +25,9 @@ | |||
|  * @link        http://phpservermon.neanderthal-technology.com/ | ||||
|  **/ | ||||
| 
 | ||||
| namespace psm; | ||||
| namespace psm\Util\Updater; | ||||
| 
 | ||||
| class UpdaterStatus { | ||||
| class Status { | ||||
| 	public $error; | ||||
| 	public $notify; | ||||
| 	public $rtime = 0; | ||||
		Loading…
	
		Reference in New Issue
	
	 Pepijn Over
						Pepijn Over