diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-03-06 12:18:57 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-03-06 12:18:57 -0500 |
commit | 34b0eaf23341c00dae5a809249445549f5abbc53 (patch) | |
tree | 781bf6742b1d07eb9f5615c47919bf3b251f1e6d /modules/localplay/mpd.controller.php | |
parent | 08a4f848be123b9ac3a1b59e0ce0821e6df9fe26 (diff) | |
download | ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.gz ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.bz2 ampache-34b0eaf23341c00dae5a809249445549f5abbc53.zip |
Clean up uses of Config::set and Config::set_by_array
Consistently pass in a boolean instead of a string or an int for the
clobber flag.
Diffstat (limited to 'modules/localplay/mpd.controller.php')
-rw-r--r-- | modules/localplay/mpd.controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php index 691e2659..553082e4 100644 --- a/modules/localplay/mpd.controller.php +++ b/modules/localplay/mpd.controller.php @@ -269,7 +269,7 @@ class AmpacheMpd extends localplay_controller { $user_id = $user_id ? $user_id : $GLOBALS['user']->id; Preference::update('mpd_active',$user_id,intval($uid)); - Config::set('mpd_active',intval($uid),'1'); + Config::set('mpd_active', intval($uid), true); return true; |