summaryrefslogtreecommitdiffstats
path: root/templates/show_preference_box.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_preference_box.inc.php')
-rw-r--r--templates/show_preference_box.inc.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/templates/show_preference_box.inc.php b/templates/show_preference_box.inc.php
index 60dfee51..eedaa2b7 100644
--- a/templates/show_preference_box.inc.php
+++ b/templates/show_preference_box.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2006 Ampache.org
+ Copyright (c) 2001 - 2007 Ampache.org
All rights reserved
This program is free software; you can redistribute it and/or
@@ -19,16 +19,10 @@
*/
-/*!
- @header Show Preferences
- @discussion shows a single preference box
-
-*/
-
/* I'm cheating a little here, check to see if we want to show the
* Apply to All button on this page
*/
-if ($GLOBALS['user']->has_access(100) AND conf('use_auth')) {
+if ($GLOBALS['user']->has_access(100) AND Config::get('use_auth')) {
$show_apply_to_all = true;
}
?>