From 46ffeca144b7ef44572a5805061da246c8be5f3c Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 10 Dec 2007 06:03:47 +0000 Subject: database update, cleaned up some stuff --- lib/class/update.class.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'lib/class/update.class.php') diff --git a/lib/class/update.class.php b/lib/class/update.class.php index 0d5bacfe..c34cd012 100644 --- a/lib/class/update.class.php +++ b/lib/class/update.class.php @@ -247,10 +247,12 @@ class Update { $version[] = array('version' => '340012','description'=>$update_string); - $update_string = '- Removed Unused Preferneces
' . - '- Changed all XML-RPC acls to RPC to reflect inclusion of new API
'; + $update_string = '- Removed Unused Preferneces.
' . + '- Changed Localplay Config to Localplay Access.
' . + '- Changed all XML-RPC acls to RPC to reflect inclusion of new API.
'; -// $version[] = array('version' => '340013','description'=>$update_string) + $version[] = array('version' => '340013','description'=>$update_string); + return $version; @@ -1055,7 +1057,10 @@ class Update { public static function update_340013() { $sql = "DELETE FROM `preference` WHERE `name`='localplay_mpd_hostname' OR `name`='localplay_mpd_port' " . - "OR `name`='direct_link' OR `name`='localplay_level' OR `name`='localplay_mpd_password'"; + "OR `name`='direct_link' OR `name`='localplay_mpd_password' OR `name`='catalog_echo_count'"; + $db_results = Dba::query($sql); + + $sql = "UPDATE `preference` SET `description`='Localplay Access' WHERE `name`='localplay_level'"; $db_results = Dba::query($sql); $sql = "UPDATE `access_list` SET `type`='rpc' WHERE `type`='xml-rpc'"; -- cgit