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 /radio.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 'radio.php')
-rw-r--r-- | radio.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ show_header(); switch ($_REQUEST['action']) { case 'show_create': if (!Access::check('interface','25')) { - access_denied(); + UI::access_denied(); exit; } @@ -37,12 +37,12 @@ switch ($_REQUEST['action']) { break; case 'create': if (!Access::check('interface','25') || Config::get('demo_mode')) { - access_denied(); + UI::access_denied(); exit; } if (!Core::form_verify('add_radio','post')) { - access_denied(); + UI::access_denied(); exit; } |