summaryrefslogtreecommitdiff
path: root/core/helpers/module.php
diff options
context:
space:
mode:
authorFelix Rabinovich <virshu@users.sourceforge.net>2009-01-09 23:31:46 +0000
committerFelix Rabinovich <virshu@users.sourceforge.net>2009-01-09 23:31:46 +0000
commitb647aa0f74e66548d6d69fc4585b89220ce60043 (patch)
tree81c78a1d1694462d45db75ab7f56d9c3cbc192de /core/helpers/module.php
parent1e14594d689a1150e922a5f5fe01956be4ccaf21 (diff)
Theme Administration v. 2. Doesn't distinguish between regular and admin themes yet
Diffstat (limited to 'core/helpers/module.php')
-rw-r--r--core/helpers/module.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/helpers/module.php b/core/helpers/module.php
index 5568ee7a..0c800786 100644
--- a/core/helpers/module.php
+++ b/core/helpers/module.php
@@ -184,20 +184,6 @@ class module_Core {
public static function dummy_error_handler() { }
/**
- * Load the active theme. This is called at bootstrap time. We will only ever have one theme
- * active for any given request.
- */
- public static function load_themes() {
- $modules = Kohana::config('core.modules');
- if (Router::$controller == "admin") {
- array_unshift($modules, THEMEPATH . 'admin_default');
- } else {
- array_unshift($modules, THEMEPATH . 'default');
- }
- Kohana::config_set('core.modules', $modules);
- }
-
- /**
* Run a specific event on all active modules.
* @param string $name the event name
* @param mixed $data data to pass to each event handler