Ensure Object is autoloaded.

When Object was renamed to CakeObject we broke behavior where plugins
and app code were relying on Object being configured in the autoloader
automatically.

Refs cakephp/debug_kit#450
This commit is contained in:
mark_story 2016-09-23 14:22:10 -04:00
parent 35d04ecb3d
commit 57bc0f9c45

View file

@ -146,6 +146,7 @@ App::uses('Configure', 'Core');
App::uses('CakePlugin', 'Core'); App::uses('CakePlugin', 'Core');
App::uses('Cache', 'Cache'); App::uses('Cache', 'Cache');
App::uses('CakeObject', 'Core'); App::uses('CakeObject', 'Core');
App::uses('Object', 'Core');
App::uses('Multibyte', 'I18n'); App::uses('Multibyte', 'I18n');
App::$bootstrapping = true; App::$bootstrapping = true;