Fixed PermissionAttachment not recalculating its Permissible permissions

This commit is contained in:
Shoghi Cervantes 2014-09-10 20:05:41 +02:00
parent 8c939feed9
commit 60011a5ecf

View File

@ -102,6 +102,7 @@ class PermissionAttachment{
*/
public function unsetPermission($name){
unset($this->permissions[$name instanceof Permission ? $name->getName() : $name]);
$this->permissible->recalculatePermissions();
}
/**