changed all client Exceptions from Exception to \Exception

This commit is contained in:
kremsy
2014-05-01 17:35:11 +02:00
committed by Steffen Schröder
parent 34db6ea31b
commit f825c0c111
12 changed files with 74 additions and 86 deletions
@@ -3,7 +3,6 @@
namespace ManiaControl\Callbacks;
use ManiaControl\ManiaControl;
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
/**
* Class for managing Server and ManiaControl Callbacks
@@ -193,7 +192,7 @@ class CallbackManager {
try {
$callbacks = $this->maniaControl->client->executeCallbacks();
} catch(Exception $e) {
} catch(\Exception $e) {
trigger_error("Error reading server callbacks. " . $e->getMessage());
return;
}