diff options
Diffstat (limited to 'modules-available/eventlog/pages/transports.inc.php')
-rw-r--r-- | modules-available/eventlog/pages/transports.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/eventlog/pages/transports.inc.php b/modules-available/eventlog/pages/transports.inc.php index 05143247..439c650c 100644 --- a/modules-available/eventlog/pages/transports.inc.php +++ b/modules-available/eventlog/pages/transports.inc.php @@ -6,7 +6,7 @@ class SubPage public static function doPreprocess() { if (Request::isPost()) { - User::assertPermission('filter.transport.edit'); + User::assertPermission('filter.transports.edit'); $action = Request::post('action'); if ($action === 'save-transport') { self::saveTransport(); @@ -108,7 +108,7 @@ class SubPage public static function doRender() { - User::assertPermission('filter.transport.view'); + User::assertPermission('filter.transports.view'); $id = Request::get('id', null, 'int'); if ($id !== null) { self::showTransportEditor($id); @@ -136,7 +136,7 @@ class SubPage */ private static function showTransportEditor(int $id) { - User::assertPermission('filter.transport.edit'); + User::assertPermission('filter.transports.edit'); if ($id !== 0) { $entry = Database::queryFirst('SELECT transportid, title, description, data FROM notification_backend |