r3857 upgrae.php: add a block for 0.18.4
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 23 Jun 2010 14:52:23 +0000 (14:52 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 23 Jun 2010 14:52:23 +0000 (14:52 +0000)
upgrade.php

index 757d396..a6a3571 100644 (file)
@@ -740,6 +740,10 @@ CREATE TABLE `VLANValidID` (
                        $query[] = "INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, is_userdefined, description) VALUES ('HNDP_RUNNERS_LISTSRC', '', 'string', 'yes', 'no', 'no', 'List of devices running HNDP (RackCode)')";
                        $query[] = "UPDATE Config SET varvalue = '0.18.3' WHERE varname = 'DB_VERSION'";
                        break;
+               case '0.18.4':
+                       $query = array_merge ($query, reloadDictionary ($batchid));
+                       $query[] = "UPDATE Config SET varvalue = '0.18.4' WHERE varname = 'DB_VERSION'";
+                       break;
                default:
                        showFailure ("executeUpgradeBatch () failed, because batch '${batchid}' isn't defined", __FILE__);
                        die;