aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/site/flush_cache.php
blob: b81f5fc83014a2d20ec68231913938e7b746e83a (plain)
1
2
3
4
5
6
7
8
9
10
<?php
/**
 * Flush all the caches
 */

elgg_invalidate_simplecache();
elgg_filepath_cache_reset();

system_message(elgg_echo('admin:cache:flushed'));
forward(REFERER);