diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:57:06 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:57:40 -0500 |
commit | 42133f38d223a2b3b81d309f2d1a983ef2012485 (patch) | |
tree | a9a01095cbb54474e83f8ec220a15991542819e1 /admin/mail.php | |
parent | 5f02e4f43cb1423653c156e612da53e4c5938583 (diff) | |
download | ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.tar.gz ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.tar.bz2 ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.zip |
Move access_denied() from lib/ui.lib.php to UI
Diffstat (limited to 'admin/mail.php')
-rw-r--r-- | admin/mail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/mail.php b/admin/mail.php index ca974ff2..3db8f48c 100644 --- a/admin/mail.php +++ b/admin/mail.php @@ -23,7 +23,7 @@ require_once '../lib/init.php'; if (!Access::check('interface','75')) { - access_denied(); + UI::access_denied(); exit(); } @@ -33,7 +33,7 @@ show_header(); switch ($_REQUEST['action']) { case 'send_mail': if (Config::get('demo_mode')) { - access_denied(); + UI::access_denied(); exit; } |