From 5a1d1b01f4e050cee1902ebad94708872fddc003 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 1 Jul 2009 14:00:14 +0800 Subject: [PATCH] Change the developer_installer and installer.txt.php to support the new install format. Signed-off-by: Tim Almdal --- modules/developer/helpers/developer_installer.php | 7 +++++++ modules/developer/views/installer.txt.php | 3 +++ 2 files changed, 10 insertions(+) diff --git a/modules/developer/helpers/developer_installer.php b/modules/developer/helpers/developer_installer.php index b0c3e9d4..acf0526c 100644 --- a/modules/developer/helpers/developer_installer.php +++ b/modules/developer/helpers/developer_installer.php @@ -21,4 +21,11 @@ class developer_installer { static function install() { module::set_version("developer", 1); } + + static function upgrade($version) { + } + + static function uninstall() { + module::delete("developer"); + } } diff --git a/modules/developer/views/installer.txt.php b/modules/developer/views/installer.txt.php index 5395fb25..3acb544b 100644 --- a/modules/developer/views/installer.txt.php +++ b/modules/developer/views/installer.txt.php @@ -27,6 +27,9 @@ class _installer { } } + static function upgrade($version) { + } + static function uninstall() { /* @todo Put database table drops here */ module::delete("");