mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-25 14:23:00 +09:00
removed System\Service->staffHasPermissions()
it is just router for Staff\Service\hasPermission()
This commit is contained in:
1 parent
f8783690eb
commit
08524b0f99
4 files changed
+13
-28
No files matched your search
@@ -360,12 +360,6 @@ class Service
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function staffHasPermissions($identity, $module, $f = null)
|
||||
{
|
||||
$service = $this->di['mod_service']('staff');
|
||||
return $service->hasPermission($identity, $module, $f);
|
||||
}
|
||||
|
||||
public function getCurrentUrl()
|
||||
{
|
||||
$request = $this->di['request'];
|
||||
|
||||
Reference in new issue
Block a user