From 9f2a34507eee87e2449bdaa55b8d734824fdd15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sun, 10 Nov 2013 20:21:12 +0100 Subject: [PATCH] minor cleanup --- application/core/maniaControl.php | 7 +++++-- application/core/playerHandler.php | 4 +--- application/core/pluginHandler.php | 2 -- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/application/core/maniaControl.php b/application/core/maniaControl.php index 8a5cb014..5d333edd 100644 --- a/application/core/maniaControl.php +++ b/application/core/maniaControl.php @@ -4,6 +4,7 @@ namespace ManiaControl; /** * Needed includes + * * @author steeffeen & kremsy */ require_once __DIR__ . '/authentication.php'; @@ -13,7 +14,9 @@ require_once __DIR__ . '/commands.php'; require_once __DIR__ . '/database.php'; require_once __DIR__ . '/fileUtil.php'; require_once __DIR__ . '/manialinkIdHandler.php'; +require_once __DIR__ . '/player.php'; require_once __DIR__ . '/playerHandler.php'; +require_once __DIR__ . '/plugin.php'; require_once __DIR__ . '/pluginHandler.php'; require_once __DIR__ . '/server.php'; require_once __DIR__ . '/settingManager.php'; @@ -96,8 +99,8 @@ class ManiaControl { /** * Quit ManiaControl and log the given message - * - * @param string $message + * + * @param string $message */ public function quit($message = false) { if ($this->client) { diff --git a/application/core/playerHandler.php b/application/core/playerHandler.php index 14b8b4ef..949f174a 100644 --- a/application/core/playerHandler.php +++ b/application/core/playerHandler.php @@ -2,8 +2,6 @@ namespace ManiaControl; -require_once __DIR__ . '/player.php'; - /** * Class managing players * @@ -37,7 +35,7 @@ class PlayerHandler { } /** - * Initialize all necessary tables + * Initialize necessary database tables * * @return bool */ diff --git a/application/core/pluginHandler.php b/application/core/pluginHandler.php index 60ad1992..9ef213f3 100644 --- a/application/core/pluginHandler.php +++ b/application/core/pluginHandler.php @@ -2,8 +2,6 @@ namespace ManiaControl; -require_once __DIR__ . '/plugin.php'; - /** * Class handling plugins *