Skip to content

Commit

Permalink
AclNode now extends Model, to avoid infinite loop when attaching AclB…
Browse files Browse the repository at this point in the history
…ehavior to AppModel

Conflicts:

	lib/Cake/Model/AclNode.php
	lib/Cake/Model/Aco.php
	lib/Cake/Model/Aro.php
  • Loading branch information
ceeram committed Feb 10, 2012
1 parent 7e5ef1d commit 2897c72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Model/AclNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

App::uses('AppModel', 'Model');
App::uses('Model', 'Model');

/**
* ACL Node
*
* @package Cake.Model
*/
class AclNode extends AppModel {
class AclNode extends Model {

/**
* Explicitly disable in-memory query caching for ACL models
Expand Down
1 change: 0 additions & 1 deletion lib/Cake/Model/Aco.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

App::uses('AppModel', 'Model');
App::uses('AclNode', 'Model');

/**
Expand Down
1 change: 0 additions & 1 deletion lib/Cake/Model/Aro.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

App::uses('AppModel', 'Model');
App::uses('AclNode', 'Model');

/**
Expand Down

0 comments on commit 2897c72

Please sign in to comment.