aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/start.php')
-rw-r--r--engine/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php
index c65c6dd03..f8c06e10f 100644
--- a/engine/start.php
+++ b/engine/start.php
@@ -140,7 +140,7 @@ if (!defined('UPGRADING')) {
$lastupdate = datalist_get("simplecache_lastupdate_$viewtype");
$lastcached = datalist_get("simplecache_lastcached_$viewtype");
if ($lastupdate == 0 || $lastcached < $lastupdate) {
- elgg_view_regenerate_simplecache($viewtype);
+ elgg_regenerate_simplecache($viewtype);
}
// needs to be set for links in html head
$CONFIG->lastcache = $lastcached;