remove object collection from MutableAcl

This commit is contained in:
Toni Uebernickel 2012-02-06 17:33:42 +01:00
parent 7dde7ce5d1
commit 1fa29dbdf9

View file

@ -38,15 +38,6 @@ class MutableAcl extends Acl implements MutableAclInterface
*/
protected $id;
/**
* A list of all ACL entries from the database.
*
* Contains instances of \Propel\PropelBundle\Model\Acl\Entry.
*
* @var \PropelObjectCollection
*/
protected $entries;
/**
* A reference to the ObjectIdentity this ACL is mapped to.
*
@ -76,8 +67,6 @@ class MutableAcl extends Acl implements MutableAclInterface
{
parent::__construct($entries, $objectIdentity, $permissionGrantingStrategy, $loadedSecurityIdentities, $parentAcl, $inherited);
$this->entries = $entries;
$this->modelObjectIdentity = ObjectIdentityQuery::create()
->filterByAclObjectIdentity($objectIdentity, $con)
->findOneOrCreate($con)
@ -301,7 +290,6 @@ class MutableAcl extends Acl implements MutableAclInterface
{
return serialize(array(
$this->id,
$this->entries,
$this->modelObjectIdentity,
$this->model,
$this->classAces,
@ -329,7 +317,6 @@ class MutableAcl extends Acl implements MutableAclInterface
{
list(
$this->id,
$this->entries,
$this->modelObjectIdentity,
$this->model,
$this->classAces,