summaryrefslogtreecommitdiffstats
path: root/admin/catalog.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/catalog.php')
-rw-r--r--admin/catalog.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index fa9b35fb..8f07f094 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -210,9 +210,9 @@ switch ($_REQUEST['action']) {
require Config::get('prefix') . '/templates/show_add_catalog.inc.php';
break;
case 'clear_now_playing':
- if (conf('demo_mode')) { break; }
+ if (Config::get('demo_mode')) { break; }
clear_now_playing();
- show_confirmation(_('Now Playing Cleared'),_('All now playing data has been cleared'),conf('web_path') . '/admin/index.php');
+ show_confirmation(_('Now Playing Cleared'),_('All now playing data has been cleared'),Config::get('web_path') . '/admin/index.php');
break;
case 'show_clear_stats':
/* Demo Bad! */