diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-19 08:34:52 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-19 08:34:52 +0000 |
commit | b372d114dce875b9e69230fe903780ae50195584 (patch) | |
tree | f2dd58be35f5ec8c7ab4cee55decec3b2b931bae /lib/preferences.php | |
parent | f4d94f034e6ca26d37244028d8ccb08ddbab0e8c (diff) | |
download | ampache-b372d114dce875b9e69230fe903780ae50195584.tar.gz ampache-b372d114dce875b9e69230fe903780ae50195584.tar.bz2 ampache-b372d114dce875b9e69230fe903780ae50195584.zip |
fixed an album art config parsing problem, Thanks Karl Hungus more work on xml class and api mojo, handshake logic in place
Diffstat (limited to 'lib/preferences.php')
-rw-r--r-- | lib/preferences.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/preferences.php b/lib/preferences.php index c7f503c1..89468242 100644 --- a/lib/preferences.php +++ b/lib/preferences.php @@ -510,25 +510,4 @@ function update_preference_level($pref_id,$level) { } // update_preference_level -/** - * fix_preferences - * This takes the preferences, explodes what needs to - * become an array and boolean everythings - */ -function fix_preferences($results) { - - $results['auth_methods'] = explode(",",$results['auth_methods']); - $results['tag_order'] = explode(",",$results['tag_order']); - $results['album_art_order'] = explode(",",$results['album_art_order']); - $results['amazon_base_urls'] = explode(",",$results['amazon_base_urls']); - - foreach ($results as $key=>$data) { - if (strcasecmp($data,"true") == "0") { $results[$key] = 1; } - if (strcasecmp($data,"false") == "0") { $results[$key] = 0; } - } - - return $results; - -} // fix_preferences - ?> |