diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 06:13:32 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 06:13:32 +0000 |
commit | b3950d0c942364ce9ab2e99c6914977158b2a09c (patch) | |
tree | 64bf2dbe591ec7d74acb4602ca152c771430f079 /modules/plugins | |
parent | f4ad61dccfd3b92760659f0382ca51a14e92a8b8 (diff) | |
download | ampache-b3950d0c942364ce9ab2e99c6914977158b2a09c.tar.gz ampache-b3950d0c942364ce9ab2e99c6914977158b2a09c.tar.bz2 ampache-b3950d0c942364ce9ab2e99c6914977158b2a09c.zip |
new db update, moved prefs around removed useless one and fixed some defaults, also fixed some potential issues with lastfm
Diffstat (limited to 'modules/plugins')
-rw-r--r-- | modules/plugins/Lastfm.plugin.php | 6 | ||||
-rw-r--r-- | modules/plugins/OpenStrands.plugin.php | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/modules/plugins/Lastfm.plugin.php b/modules/plugins/Lastfm.plugin.php index fd9cca82..098e01e8 100644 --- a/modules/plugins/Lastfm.plugin.php +++ b/modules/plugins/Lastfm.plugin.php @@ -54,8 +54,8 @@ class AmpacheLastfm { */ public function install() { - Preference::insert('lastfm_user','Last.FM Username',' ','25','string','options'); - Preference::insert('lastfm_pass','Last.FM Password',' ','25','string','options'); + Preference::insert('lastfm_user','Last.FM Username',' ','25','string','plugins'); + Preference::insert('lastfm_pass','Last.FM Password',' ','25','string','plugins'); Preference::insert('lastfm_port','Last.FM Submit Port',' ','25','string','internal'); Preference::insert('lastfm_host','Last.FM Submit Host',' ','25','string','internal'); Preference::insert('lastfm_url','Last.FM Submit URL',' ','25','string','internal'); @@ -122,6 +122,8 @@ class AmpacheLastfm { } return false; } + + debug_event('LastFM','Submission Successful','5'); return true; diff --git a/modules/plugins/OpenStrands.plugin.php b/modules/plugins/OpenStrands.plugin.php index 1a7b1b78..f57529b9 100644 --- a/modules/plugins/OpenStrands.plugin.php +++ b/modules/plugins/OpenStrands.plugin.php @@ -45,8 +45,8 @@ class AmpacheOpenStrands { */ public function install() { - Preference::insert('mystrands_user','MyStrands Login',' ','25','string','options'); - Preference::insert('mystrands_pass','MyStrands Password',' ','25','string','options'); + Preference::insert('mystrands_user','MyStrands Login',' ','25','string','plugins'); + Preference::insert('mystrands_pass','MyStrands Password',' ','25','string','plugins'); } // install |