changes too new structure

This commit is contained in:
kremsy
2014-01-16 18:49:52 +01:00
committed by Steffen Schröder
parent af16f2ac8d
commit 027af49bc9
5 changed files with 25 additions and 37 deletions

View File

@ -180,8 +180,8 @@ class CallbackManager {
// Server Callbacks
if (!$this->maniaControl->client) return;
$this->maniaControl->client->readCB();
$callbacks = $this->maniaControl->client->getCBResponses();
$callbacks = $this->maniaControl->client->executeCallbacks();
if (!is_array($callbacks)) {
trigger_error("Error reading server callbacks. " . $this->maniaControl->getClientErrorText());
return;