]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed regenerating cache when installing Elgg - wasn't picking up the plugins before
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 15 May 2011 22:33:05 +0000 (22:33 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 15 May 2011 22:33:05 +0000 (22:33 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9091 36083f99-b078-4883-b0ff-0f9b5a30f544

install/ElggInstaller.php

index 719e9b67f053aed65b431355c023d9da014f75b1..8da898428c6c53d2f66995c7d2321b6724716e22 100644 (file)
@@ -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;
        }