From 04a738bc18bdae995343b17b60fe6f7c5e4f247d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 5 Nov 2008 01:30:59 +0000 Subject: Declare install/uninstall stat.c --- core/helpers/core_installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index d100e0d1..8511b840 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class core_installer { - public function install() { + public static function install() { $db = Database::instance(); try { $base_version = ORM::factory("module")->where("name", "core")->find()->version; @@ -75,7 +75,7 @@ class core_installer { } } - public function uninstall() { + public static function uninstall() { $db = Database::instance(); $db->query("DROP TABLE IF EXISTS `items`;"); $db->query("DROP TABLE IF EXISTS `modules`;"); -- cgit v1.2.3