aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/settings
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings')
-rw-r--r--app/controllers/settings/notification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/settings/notification.php b/app/controllers/settings/notification.php
index d2891a6..0fd2c4e 100644
--- a/app/controllers/settings/notification.php
+++ b/app/controllers/settings/notification.php
@@ -71,7 +71,7 @@ class Settings_NotificationController extends Settings_SettingsController
->withProps([
'store-url' => $this->storeURL(),
'modules' => collect(
- studipApp(ModulesNotification::class)->registered_notification_modules
+ app(ModulesNotification::class)->registered_notification_modules
)->map(
fn(array $module, int $id): array => array_merge($module, ['id' => $id])
)->values(),
@@ -86,7 +86,7 @@ class Settings_NotificationController extends Settings_SettingsController
->withVuexStore(
'MyCoursesStore',
'mycoursesnotificationstore',
- studipApp(MyCoursesHelper::class)->createVueAppData('')
+ app(MyCoursesHelper::class)->createVueAppData('')
)
);
}