minor cleanup

This commit is contained in:
Steffen Schröder 2013-11-10 20:21:12 +01:00
parent a4a12298d4
commit 9f2a34507e
3 changed files with 6 additions and 7 deletions

View File

@ -4,6 +4,7 @@ namespace ManiaControl;
/** /**
* Needed includes * Needed includes
*
* @author steeffeen & kremsy * @author steeffeen & kremsy
*/ */
require_once __DIR__ . '/authentication.php'; require_once __DIR__ . '/authentication.php';
@ -13,7 +14,9 @@ require_once __DIR__ . '/commands.php';
require_once __DIR__ . '/database.php'; require_once __DIR__ . '/database.php';
require_once __DIR__ . '/fileUtil.php'; require_once __DIR__ . '/fileUtil.php';
require_once __DIR__ . '/manialinkIdHandler.php'; require_once __DIR__ . '/manialinkIdHandler.php';
require_once __DIR__ . '/player.php';
require_once __DIR__ . '/playerHandler.php'; require_once __DIR__ . '/playerHandler.php';
require_once __DIR__ . '/plugin.php';
require_once __DIR__ . '/pluginHandler.php'; require_once __DIR__ . '/pluginHandler.php';
require_once __DIR__ . '/server.php'; require_once __DIR__ . '/server.php';
require_once __DIR__ . '/settingManager.php'; require_once __DIR__ . '/settingManager.php';
@ -96,8 +99,8 @@ class ManiaControl {
/** /**
* Quit ManiaControl and log the given message * Quit ManiaControl and log the given message
* *
* @param string $message * @param string $message
*/ */
public function quit($message = false) { public function quit($message = false) {
if ($this->client) { if ($this->client) {

View File

@ -2,8 +2,6 @@
namespace ManiaControl; namespace ManiaControl;
require_once __DIR__ . '/player.php';
/** /**
* Class managing players * Class managing players
* *
@ -37,7 +35,7 @@ class PlayerHandler {
} }
/** /**
* Initialize all necessary tables * Initialize necessary database tables
* *
* @return bool * @return bool
*/ */

View File

@ -2,8 +2,6 @@
namespace ManiaControl; namespace ManiaControl;
require_once __DIR__ . '/plugin.php';
/** /**
* Class handling plugins * Class handling plugins
* *