diff --git a/core/Callbacks/CallbackManager.php b/core/Callbacks/CallbackManager.php index 812ba807..facb1223 100644 --- a/core/Callbacks/CallbackManager.php +++ b/core/Callbacks/CallbackManager.php @@ -260,11 +260,6 @@ class CallbackManager implements UsageInformationAble { if ($fullTime > ErrorHandler::LONG_LOOP_REPORT_TIME) { $this->maniaControl->getErrorHandler()->triggerDebugNotice(json_encode(array("Long Loop Detected: " . $fullTime, $timings))); } - - - - - } /** diff --git a/core/Server/Commands.php b/core/Server/Commands.php index ee0cc98a..ae8faa2a 100644 --- a/core/Server/Commands.php +++ b/core/Server/Commands.php @@ -107,8 +107,8 @@ class Commands implements CallbackListener, CommandListener, ManialinkPageAnswer if ($this->maniaControl->getMapManager()->getCurrentMap()->getGame() === 'tm') { $this->maniaControl->getAuthenticationManager()->definePermissionLevel(self::SETTING_PERMISSION_TM_HANDLE_POINTS_REPARTITION, AuthenticationManager::AUTH_LEVEL_SUPERADMIN); - $this->maniaControl->getCommandManager()->registerCommandListener('setpointsdistribution', $this, 'commandSetPointsRepartition', true, 'Gets the Rounds Point Repartition.'); - $this->maniaControl->getCommandManager()->registerCommandListener('getpointsdistribution', $this, 'commandGetPointsRepartition', true, 'Sets the Rounds Point Repartition.'); + $this->maniaControl->getCommandManager()->registerCommandListener('setpointsdistribution', $this, 'commandSetPointsRepartition', true, 'Sets the Rounds Point Repartition.'); + $this->maniaControl->getCommandManager()->registerCommandListener('getpointsdistribution', $this, 'commandGetPointsRepartition', true, 'Gets the Rounds Point Repartition.'); } }