Remove Role::addPermission()

Method is not used.

refs #10887
This commit is contained in:
Eric Lippmann 2016-03-29 11:20:15 +02:00
parent 123488cfc0
commit 32c6a03000
1 changed files with 0 additions and 13 deletions

View File

@ -49,19 +49,6 @@ class Role
return $this;
}
/**
* Add a permission to the role
*
* @param string $permission
*
* @return $this
*/
public function addPermission($permission)
{
$this->permissions[$permission] = $permission;
return $this;
}
/**
* Get the permissions of the role
*