Removing a pointless import in CakeRequest.

Moving inclusion of ObjectCollection to bootstrap.  This avoids repetitive calls to import()
This commit is contained in:
mark_story 2011-02-05 01:28:41 -05:00
parent 8e267f7be2
commit 304f12d0ed
6 changed files with 1 additions and 9 deletions

View file

@ -27,6 +27,7 @@ require CORE_PATH . 'cake' . DS . 'basics.php';
require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
require LIBS . 'error' . DS . 'exceptions.php';
require LIBS . 'object.php';
require LIBS . 'object_collection.php';
require LIBS . 'inflector.php';
require LIBS . 'app.php';
require LIBS . 'configure.php';

View file

@ -15,8 +15,6 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'ObjectCollection');
class TaskCollection extends ObjectCollection {
/**
* Shell to use to set params to tasks.

View file

@ -15,7 +15,6 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'Set');
/**
* A class that helps wrap Request information and particulars about a single request.

View file

@ -15,8 +15,6 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'ObjectCollection');
class ComponentCollection extends ObjectCollection {
/**

View file

@ -18,8 +18,6 @@
* @since CakePHP(tm) v 1.2.0.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'ObjectCollection');
/**
* Model behavior collection class.
*

View file

@ -15,8 +15,6 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'ObjectCollection');
class HelperCollection extends ObjectCollection {
/**