summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/helpers/core_installer.php4
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`;");