aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/upgrade.php b/upgrade.php
index 631ab1c67..ac4cb57ca 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -24,8 +24,7 @@
}
datalist_set('simplecache_lastupdate',0);
- $cache = elgg_get_filepath_cache();
- $cache->delete('view_paths');
+ elgg_filepath_cache_reset();
} else {
global $CONFIG;
echo elgg_view('settings/upgrading');