PHPDoc improvements

Replaced deprecated method call
This commit is contained in:
Steffen Schröder committed 2014-05-20 14:59:17 +02:00
1 parent 7bcd42d927
commit 6ca5decdb4
13 files changed
+27 -22

No files matched your search

@@ -123,7 +123,11 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
return true;
}
$this->maniaControl->client->setServerOptions($serverSettings);
try {
$this->maniaControl->client->setServerOptions($serverSettings);
} catch (ServerOptionsException $exception) {
$this->maniaControl->chat->sendExceptionToAdmins($exception);
}
return true;
}