function permisison_exists remove operator

It was added by a contributor who hasn't used it anywhere in the project. For this reason its being removed.
This commit is contained in:
FusionPBX 2024-09-09 09:31:54 -06:00 committed by GitHub
parent 2085c950ee
commit 3b19f4a464
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@
//check if the permission exists
if (!function_exists('permission_exists')) {
function permission_exists($permission_name, $operator = 'or') {
function permission_exists($permission_name) {
$database = database::new();
$permission = new permissions($database);
return $permission->exists($permission_name);