You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Fix cms as now on epicnabbo.nl 🆙
This commit is contained in:
@@ -9,21 +9,21 @@ use Illuminate\Support\Str;
|
||||
if (! function_exists('setting')) {
|
||||
function setting(string $setting): string
|
||||
{
|
||||
return app(SettingsService::class)->getOrDefault($setting);
|
||||
return resolve(SettingsService::class)->getOrDefault($setting);
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('hasPermission')) {
|
||||
function hasPermission(string $permission): string
|
||||
{
|
||||
return app(PermissionsService::class)->getOrDefault($permission);
|
||||
return resolve(PermissionsService::class)->getOrDefault($permission);
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('hasHousekeepingPermission')) {
|
||||
function hasHousekeepingPermission(string $permission): string
|
||||
{
|
||||
return app(HousekeepingPermissionsService::class)->getOrDefault($permission);
|
||||
return resolve(HousekeepingPermissionsService::class)->getOrDefault($permission);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user