mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing a pointless import in CakeRequest.
Moving inclusion of ObjectCollection to bootstrap. This avoids repetitive calls to import()
This commit is contained in:
parent
8e267f7be2
commit
304f12d0ed
6 changed files with 1 additions and 9 deletions
|
@ -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';
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue