From 54d27238f38c596f5158f8bac112b1d08ca47542 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 12 Dec 2008 07:09:00 +0000 Subject: Fix module::_core_installed() hack. --- core/helpers/module.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/helpers/module.php') diff --git a/core/helpers/module.php b/core/helpers/module.php index bc786fad..ca3eb2cc 100644 --- a/core/helpers/module.php +++ b/core/helpers/module.php @@ -131,8 +131,6 @@ class module_Core { * @todo remove this when we have a real installer. */ private static function _core_installed() { - if (Kohana::config('database.default.connection.pass') == 'p@ssw0rd') { - return array(); - } + return Kohana::config('database.default.connection.pass') != 'p@ssw0rd'; } } -- cgit v1.2.3