adding yuipath system preference to updatedatabase

This commit is contained in:
Joshua Ferraro 2007-11-09 10:30:49 -06:00
parent bc62309d74
commit ffa4c37287
1 changed files with 6 additions and 0 deletions

View File

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