summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-12 07:09:00 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-12 07:09:00 +0000
commit54d27238f38c596f5158f8bac112b1d08ca47542 (patch)
treec5c09293b418e9dde06212c10f6e58f7108bf6be
parenta3142246e4c2f587e524571cf319bec68b339bb3 (diff)
Fix module::_core_installed() hack.
-rw-r--r--core/helpers/module.php4
1 files changed, 1 insertions, 3 deletions
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';
}
}