diff options
author | Simon Rettberg | 2016-08-16 18:05:29 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-08-16 18:05:29 +0200 |
commit | bf3bb604fa82e0738fdb21d9bd4fd07000ed35bd (patch) | |
tree | d89f1aff06f9374ea44587542c3fd319cc727187 /modules-available/dozmod/inc/pagemailtemplates.inc.php | |
parent | [render] Restore debug template generation (diff) | |
download | slx-admin-bf3bb604fa82e0738fdb21d9bd4fd07000ed35bd.tar.gz slx-admin-bf3bb604fa82e0738fdb21d9bd4fd07000ed35bd.tar.xz slx-admin-bf3bb604fa82e0738fdb21d9bd4fd07000ed35bd.zip |
[dozmod] Implement action log subpage
Diffstat (limited to 'modules-available/dozmod/inc/pagemailtemplates.inc.php')
-rw-r--r-- | modules-available/dozmod/inc/pagemailtemplates.inc.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules-available/dozmod/inc/pagemailtemplates.inc.php b/modules-available/dozmod/inc/pagemailtemplates.inc.php index 73ce0ade..ef52ec12 100644 --- a/modules-available/dozmod/inc/pagemailtemplates.inc.php +++ b/modules-available/dozmod/inc/pagemailtemplates.inc.php @@ -7,13 +7,6 @@ class Page_mail_templates extends Page protected function doPreprocess() { - User::load(); - - if (!User::hasPermission('superadmin')) { - Message::addError('main.no-permission'); - Util::redirect('?do=Main'); - } - $action = Request::post('action', 'show', 'string'); if ($action === 'show') { $this->fetchTemplates(); |