Move where set is loaded.

2.1 expects that Configure will load Set.
This commit is contained in:
mark_story 2012-04-10 21:25:04 -04:00
parent 8d1b5c3f24
commit e3b124516f
2 changed files with 4 additions and 4 deletions

View file

@ -15,6 +15,10 @@
App::uses('Hash', 'Utility'); App::uses('Hash', 'Utility');
App::uses('ConfigReaderInterface', 'Configure'); App::uses('ConfigReaderInterface', 'Configure');
/**
* Compatibility with 2.1, which expects Configure to load Set.
*/
App::uses('Set', 'Utility');
/** /**
* Configuration class. Used for managing runtime configuration information. * Configuration class. Used for managing runtime configuration information.

View file

@ -141,10 +141,6 @@ App::$bootstrapping = true;
Configure::bootstrap(isset($boot) ? $boot : true); Configure::bootstrap(isset($boot) ? $boot : true);
/**
* Compatibility with 2.1, which expects Set to always be autoloaded.
*/
App::uses('Set', 'Utilty');
/** /**
* Full url prefix * Full url prefix