From b647aa0f74e66548d6d69fc4585b89220ce60043 Mon Sep 17 00:00:00 2001 From: Felix Rabinovich Date: Fri, 9 Jan 2009 23:31:46 +0000 Subject: Theme Administration v. 2. Doesn't distinguish between regular and admin themes yet --- core/helpers/module.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'core/helpers/module.php') 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 @@ -183,20 +183,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 -- cgit v1.2.3