Skip to content

Commit

Permalink
Removing a pointless import in CakeRequest.
Browse files Browse the repository at this point in the history
Moving inclusion of ObjectCollection to bootstrap.  This avoids repetitive calls to import()
  • Loading branch information
markstory committed Feb 5, 2011
1 parent 8e267f7 commit 304f12d
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions cake/bootstrap.php
Expand Up @@ -27,6 +27,7 @@
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';
Expand Down
2 changes: 0 additions & 2 deletions cake/console/libs/task_collection.php
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion cake/libs/cake_request.php
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions cake/libs/controller/component_collection.php
Expand Up @@ -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 {

/**
Expand Down
2 changes: 0 additions & 2 deletions cake/libs/model/behavior_collection.php
Expand Up @@ -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.
*
Expand Down
2 changes: 0 additions & 2 deletions cake/libs/view/helper_collection.php
Expand Up @@ -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 {

/**
Expand Down

0 comments on commit 304f12d

Please sign in to comment.