console commands
This commit is contained in:
@@ -58,9 +58,7 @@ class PurgeUsers extends Command
|
|||||||
|
|
||||||
//Attempt to get the server status. Don't want to do anything if the server is down for some reason.
|
//Attempt to get the server status. Don't want to do anything if the server is down for some reason.
|
||||||
try {
|
try {
|
||||||
$status = $esi->setQueryString([
|
$status = $esi->invoke('get', '/status/');
|
||||||
'datasource' => 'tranquility',
|
|
||||||
])->invoke('get', '/status/');
|
|
||||||
} catch(RequestFailedException $e) {
|
} catch(RequestFailedException $e) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user