From e84a0ebe46e0cc3ddf070084da28ed2d62256ed8 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 11 Dec 2008 16:06:22 +0000 Subject: Change the name of the implmentation of module parameters to module vars --- core/helpers/core_installer.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core/helpers/core_installer.php') 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"); } -- cgit v1.2.3