removed class aliases again as it doesn't work as expected

This commit is contained in:
Steffen Schröder 2014-06-20 15:07:31 +02:00
parent 88b471f283
commit f72568240b

View File

@ -16,17 +16,7 @@ class AutoLoader {
*/ */
public static function register() { public static function register() {
spl_autoload_register(array(get_class(), 'autoload')); 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 * Try to autoload the Class with the given Name
* *