1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 02:39:47 +02:00

new db update, moved prefs around removed useless one and fixed some defaults, also fixed some potential issues with lastfm

This commit is contained in:
Karl 'vollmerk' Vollmer 2007-09-09 06:13:32 +00:00
parent f4ad61dccf
commit b3950d0c94
10 changed files with 68 additions and 26 deletions

View file

@ -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;

View file

@ -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