diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-09-04 17:15:42 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-09-04 17:15:42 -0700 |
commit | c3d0cf509298298159db0ca75a71aa3676c548e5 (patch) | |
tree | d8ae56cc1285497b48830ce9ce2e6d4aeb262eca /engine/start.php | |
parent | 4d47ecbb311d556f155ad866bbce358fbfb51218 (diff) | |
download | elgg-c3d0cf509298298159db0ca75a71aa3676c548e5.tar.gz elgg-c3d0cf509298298159db0ca75a71aa3676c548e5.tar.bz2 |
Refs #3661. Merged $CONFIG->lastcache fix to master.
Fixes #3530. $CONFIG->lastcache has correct value on page load when cache is regenerated.
git-svn-id: http://code.elgg.org/elgg/branches/1.7@9204 36083f99-b078-4883-b0ff-0f9b5a30f544
Conflicts:
engine/start.php
Diffstat (limited to 'engine/start.php')
-rw-r--r-- | engine/start.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/start.php b/engine/start.php index 713d94cc6..132c060b4 100644 --- a/engine/start.php +++ b/engine/start.php @@ -144,7 +144,9 @@ if (!defined('UPGRADING')) { $lastcached = datalist_get("simplecache_lastcached_$viewtype"); if ($lastupdate == 0 || $lastcached < $lastupdate) { elgg_regenerate_simplecache($viewtype); + $lastcached = datalist_get("simplecache_lastcached_$viewtype"); } + $CONFIG->lastcache = $lastcached; } // System loaded and ready |