summaryrefslogtreecommitdiff
path: root/core/helpers/module.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/module.php')
-rw-r--r--core/helpers/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/module.php b/core/helpers/module.php
index ca5af3fc..233030db 100644
--- a/core/helpers/module.php
+++ b/core/helpers/module.php
@@ -151,7 +151,7 @@ class module_Core {
// Reload module list from the config file since we'll do a refresh after calling install()
$core = Kohana::config_load("core");
$kohana_modules = $core["modules"];
- $modules = ORM::factory("module")->find_all();
+ $modules = ORM::factory("module")->where("name <>", "core")->find_all();
foreach ($modules as $module) {
self::$module_names[$module->name] = $module->name;