removed class aliases again as it doesn't work as expected
This commit is contained in:
parent
88b471f283
commit
f72568240b
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user