From ebd509e69cb5c95922fe2f813cd546cb5b74a742 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 15 May 2011 22:33:05 +0000 Subject: fixed regenerating cache when installing Elgg - wasn't picking up the plugins before git-svn-id: http://code.elgg.org/elgg/trunk@9091 36083f99-b078-4883-b0ff-0f9b5a30f544 --- install/ElggInstaller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ElggInstaller.php') diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index 719e9b67f..8da898428 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -524,6 +524,8 @@ class ElggInstaller { $params['destination'] = 'index.php'; } + elgg_invalidate_simplecache(); + $this->render('complete', $params); } @@ -1405,8 +1407,6 @@ class ElggInstaller { $CONFIG->dataroot = $dataroot; $cache = new ElggFileCache($dataroot); $cache->delete('view_paths'); - elgg_invalidate_simplecache(); - elgg_regenerate_simplecache(); return TRUE; } -- cgit v1.2.3