From ffa4c372874665b38dd98ce0e7cfdcfce4e6719c Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Fri, 9 Nov 2007 10:30:49 -0600 Subject: [PATCH] adding yuipath system preference to updatedatabase --- updater/updatedatabase | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/updater/updatedatabase b/updater/updatedatabase index 34d03ce7e7..6a636593dc 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -561,6 +561,12 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } +$DBversion = "3.00.00.023"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + $dbh->do("INSERT INTO `systempreferences` VALUES ('yuipath','http://yui.yahooapis.com/2.3.1/build','Insert the path to YUI libraries','','free')"); + print "Upgrade to $DBversion done (adding new system preference for controlling YUI path)\n"; + SetVersion ($DBversion); +} =item DropAllForeignKeys($table) -- 2.39.5