Increment DB update 083
authorJoshua Ferraro <jmf@liblime.com>
Mon, 12 May 2008 20:50:26 +0000 (15:50 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 12 May 2008 20:50:26 +0000 (15:50 -0500)
installer/data/mysql/updatedatabase.pl

index ce3c094..e6a23c4 100755 (executable)
@@ -1549,6 +1549,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     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)
 
   Drop all foreign keys of the table $table