Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
flush_cache.php
Go to the documentation of this file.
1 <?php
7 _elgg_services()->autoloadManager->deleteCache();
8 
9 system_message(elgg_echo('admin:cache:flushed'));
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
const REFERER
Definition: elgglib.php:2029
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
Definition: autoloader.php:17
forward($location="", $reason= 'system')
Forward to $location.
Definition: elgglib.php:93
system_message($message)
Display a system message on next page load.
Definition: elgglib.php:438
elgg_flush_caches()
Flush all the registered caches.
Definition: cache.php:225