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

elgg_invalidate_simplecache();
elgg_reset_system_cache();

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