diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-11 16:06:22 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-11 16:06:22 +0000 |
commit | e84a0ebe46e0cc3ddf070084da28ed2d62256ed8 (patch) | |
tree | ae7e59cd9ad33836325d49b15cd4b841efbe7a97 /core/helpers/core_installer.php | |
parent | fa86be7df41f1b44309014829d728fc9afe88823 (diff) |
Change the name of the implmentation of module parameters to module vars
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r-- | core/helpers/core_installer.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index 95d46597..d2c03948 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -82,7 +82,7 @@ class core_installer { UNIQUE KEY(`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); - $db->query("CREATE TABLE `parameters` ( + $db->query("CREATE TABLE `vars` ( `id` int(9) NOT NULL auto_increment, `module_id` int(9), `name` char(255) NOT NULL, @@ -124,7 +124,10 @@ class core_installer { $db->query("DROP TABLE IF EXISTS `permissions`;"); $db->query("DROP TABLE IF EXISTS `items`;"); $db->query("DROP TABLE IF EXISTS `modules`;"); + // @todo remove before release $db->query("DROP TABLE IF EXISTS `parameters`;"); + // @todo-end + $db->query("DROP TABLE IF EXISTS `vars`;"); system("/bin/rm -rf " . VARPATH . "albums"); system("/bin/rm -rf " . VARPATH . "resizes"); } |