[Koha-patches] [PATCH] yuipath : updatedatabase only

Henri-Damien LAURENT henridamien at koha-fr.org
Mon May 12 22:33:49 CEST 2008


---
 installer/data/mysql/updatedatabase.pl |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 55f203e..b3903a3 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -1553,6 +1553,12 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
 	print "Upgrade to $DBversion done (catch up on DB schema changes since alpha and beta)\n";
 	SetVersion ($DBversion);
 }
+$DBversion = "3.00.00.083";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    $dbh->do( qq(UPDATE systempreferences SET value='local' where variable='yuipath' and value like "%/intranet-tmpl/prog/%"));
+    print "Upgrade to $DBversion done (Changing yuipath behaviour in managing a local value)\n";
+    SetVersion ($DBversion);
+}
 
 =item DropAllForeignKeys($table)
 
-- 
1.5.4.3




More information about the Koha-patches mailing list