diff --git a/security/Permission.php b/security/Permission.php index dd6c61f6b..4be85ee0d 100755 --- a/security/Permission.php +++ b/security/Permission.php @@ -500,22 +500,6 @@ class Permission extends DataObject { asort($allCodes); return $allCodes; } - - /* - * Controller action to list the codes available - * - * @see Permission::get_codes() - */ - public function listcodes() { - if(!Permission::check('ADMIN')) - Security::permissionFailure(); - - echo '
"; - print_r($codes); - } - /** * Declare an array of permissions for the system.