diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-05 01:30:59 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-05 01:30:59 +0000 |
commit | 04a738bc18bdae995343b17b60fe6f7c5e4f247d (patch) | |
tree | 65f83fd4fcd55ca85ccf983343ac9498d2b72233 /core/helpers/core_installer.php | |
parent | f011971adedf5f09092b0a2772ad18a9f9f31a70 (diff) |
Declare install/uninstall stat.c
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r-- | core/helpers/core_installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
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`;"); |