From 5562421f85f5b45e01497c6afe4f962213aae251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Tue, 6 May 2014 02:17:24 +0200 Subject: [PATCH] cleaned error reports --- application/core/ErrorHandler.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index b378b28b..02826a8d 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -67,15 +67,12 @@ class ErrorHandler { if ($this->maniaControl->server) { $error['ServerLogin'] = $this->maniaControl->server->login; - } else { - $error['ServerLogin'] = ''; } if ($this->maniaControl->settingManager && $this->maniaControl->updateManager) { $error['UpdateChannel'] = $this->maniaControl->settingManager->getSetting($this->maniaControl->updateManager, UpdateManager::SETTING_UPDATECHECK_CHANNEL); - $error['ManiaControlVersion'] = $this->maniaControl->updateManager->getNightlyBuildDate(); + $error['ManiaControlVersion'] = ManiaControl::VERSION . ' #' . $this->maniaControl->updateManager->getNightlyBuildDate(); } else { - $error['UpdateChannel'] = ''; $error['ManiaControlVersion'] = ManiaControl::VERSION; }