diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-21 04:43:48 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-21 04:43:48 +0000 |
commit | 260b62361e031b3a0d4261e892170f294825ed61 (patch) | |
tree | 9ba79b0c5ac498c4cfd1caf896baa1d1caab7a84 /admin | |
parent | 06652fe0406b45732ad80a3ab08c7d97bae4b47c (diff) | |
download | ampache-260b62361e031b3a0d4261e892170f294825ed61.tar.gz ampache-260b62361e031b3a0d4261e892170f294825ed61.tar.bz2 ampache-260b62361e031b3a0d4261e892170f294825ed61.zip |
fixed recently played, removed a bunch of useless files, added new methods to api as requested by dev, fixed some minor issues with enabling of localplay methods
Diffstat (limited to 'admin')
-rw-r--r-- | admin/modules.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/modules.php b/admin/modules.php index 498a1032..bc13eb22 100644 --- a/admin/modules.php +++ b/admin/modules.php @@ -45,6 +45,8 @@ switch ($_REQUEST['action']) { // Go ahead and enable Localplay (Admin->System) as we assume they want to do that // if they are enabling this Preference::update('allow_localplay_playback','-1','1'); + Preference::update('localplay_level',$GLOBALS['user']->id,'100'); + Preference::update('localplay_controller',$GLOBALS['user']->id,$localplay->type); header("Location:" . Config::get('web_path') . '/admin/modules.php?action=show_localplay'); break; |