From 32c6a0300018758879cc85745eff9eb2a5474df2 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 29 Mar 2016 11:20:15 +0200 Subject: [PATCH] Remove Role::addPermission() Method is not used. refs #10887 --- library/Icinga/Authentication/Role.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/library/Icinga/Authentication/Role.php b/library/Icinga/Authentication/Role.php index afb27392f..f00d063e2 100644 --- a/library/Icinga/Authentication/Role.php +++ b/library/Icinga/Authentication/Role.php @@ -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 *