From f72568240ba7118e9073a2e8bcde14bfed4b8ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Fri, 20 Jun 2014 15:07:31 +0200 Subject: [PATCH] removed class aliases again as it doesn't work as expected --- application/core/AutoLoader.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/application/core/AutoLoader.php b/application/core/AutoLoader.php index 3baaeb32..370a2cce 100644 --- a/application/core/AutoLoader.php +++ b/application/core/AutoLoader.php @@ -16,17 +16,7 @@ class AutoLoader { */ public static function register() { spl_autoload_register(array(get_class(), 'autoload')); - self::registerClassAliases(); } - - /** - * Register the Class Aliases needed to keep compatibility - */ - private static function registerClassAliases() { - class_alias('ManiaControl\\Utils\\Formatter', 'ManiaControl\\Formatter'); - class_alias('ManiaControl\\Utils\\ColorUtil', 'ManiaControl\\ColorUtil'); - } - /** * Try to autoload the Class with the given Name *