From 502c3f2804fd4987adaf9abbeeff5d2a5be2fec2 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 3 Mar 2009 15:34:04 +0000 Subject: Minor tweaks git-svn-id: https://code.elgg.org/elgg/trunk@3038 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/plugins.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index c70cd8ebc..2986b65e5 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -219,12 +219,8 @@ if (!empty($CONFIG->pluginspath)) { // See if we have cached values for things - $cached_view_paths = $cache->load('view_paths'); + $cached_view_paths = $cache->load('view_paths'); if ($cached_view_paths) $CONFIG->views = unserialize($cached_view_paths); - - $cached_lang_paths = $cache->load('lang_paths'); - if ($cached_lang_paths) $CONFIG->views = unserialize($cached_lang_paths); - // temporary disable all plugins if there is a file called 'disabled' in the plugin dir if (file_exists($CONFIG->pluginspath . "disabled")) -- cgit v1.2.3