summaryrefslogtreecommitdiffstats
path: root/shout.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 00:57:06 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 00:57:40 -0500
commit42133f38d223a2b3b81d309f2d1a983ef2012485 (patch)
treea9a01095cbb54474e83f8ec220a15991542819e1 /shout.php
parent5f02e4f43cb1423653c156e612da53e4c5938583 (diff)
downloadampache-42133f38d223a2b3b81d309f2d1a983ef2012485.tar.gz
ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.tar.bz2
ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.zip
Move access_denied() from lib/ui.lib.php to UI
Diffstat (limited to 'shout.php')
-rw-r--r--shout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/shout.php b/shout.php
index 170ae6e4..0e3782f2 100644
--- a/shout.php
+++ b/shout.php
@@ -29,12 +29,12 @@ switch ($_REQUEST['action']) {
case 'add_shout':
// Must be at least a user to do this
if (!Access::check('interface','25')) {
- access_denied();
+ UI::access_denied();
exit;
}
if (!Core::form_verify('add_shout','post')) {
- access_denied();
+ UI::access_denied();
exit;
}