diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-14 06:13:32 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-14 06:13:32 +0000 |
commit | 089cd9100a6b94602df62e07e5b7a9b2c563ef95 (patch) | |
tree | 73ad2d782245e593b0fc98d98cd31dfe3e1e4ac8 /login.php | |
parent | ab9aec092c66f090eb77ac6a53e37a02a9aecbbf (diff) | |
download | ampache-089cd9100a6b94602df62e07e5b7a9b2c563ef95.tar.gz ampache-089cd9100a6b94602df62e07e5b7a9b2c563ef95.tar.bz2 ampache-089cd9100a6b94602df62e07e5b7a9b2c563ef95.zip |
tweaked theme a tad, updated lastfm plugin, requires remove/readadd to work correctly
Diffstat (limited to 'login.php')
-rw-r--r-- | login.php | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -136,6 +136,15 @@ if ($auth['success']) { if (!$handshake) { debug_event('LastFM','Handshake Failed: ' . $lastfm->error_msg,'3'); } + + // Get the preference IDs + $port_id = get_preference_id('lastfm_port'); + $url_id = get_preference_id('lastfm_url'); + $host_id = get_preference_id('lastfm_host'); + update_preference($user->id,'lastfm_port',$port_id,$handshake['submit_port']); + update_preference($user->id,'lastfm_host',$host_id,$handshake['submit_host']); + update_preference($user->id,'lastfm_url',$url_id,$handshake['submit_url']); + } // if LastFM |