summaryrefslogtreecommitdiffstats
path: root/server/localplay.ajax.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-18 21:47:44 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-18 21:47:44 +0000
commit755fffbd78dc8411b0ba8d0918416f7c2ff5e4a0 (patch)
tree93fef0a189fa74e0660ec4424202293b10e424b4 /server/localplay.ajax.php
parentd6075fe25c39303425f7291b9fb3658217c48097 (diff)
downloadampache-755fffbd78dc8411b0ba8d0918416f7c2ff5e4a0.tar.gz
ampache-755fffbd78dc8411b0ba8d0918416f7c2ff5e4a0.tar.bz2
ampache-755fffbd78dc8411b0ba8d0918416f7c2ff5e4a0.zip
fix typo also tweak the localplay controllers so they update the active instance correctly
Diffstat (limited to 'server/localplay.ajax.php')
-rw-r--r--server/localplay.ajax.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/localplay.ajax.php b/server/localplay.ajax.php
index d60513d0..6fcdf1cc 100644
--- a/server/localplay.ajax.php
+++ b/server/localplay.ajax.php
@@ -38,9 +38,6 @@ switch ($_REQUEST['action']) {
$localplay->set_active_instance($_REQUEST['instance']);
Preference::update('play_type',$GLOBALS['user']->id,$type);
- // Now reload the preferences into the user object
- $GLOBALS['user']->set_preferences();
-
// We should also refesh the sidebar
ob_start();
require_once Config::get('prefix') . '/templates/sidebar.inc.php';