Elgg  Version 2.2
unlock_upgrade.php
Go to the documentation of this file.
1 <?php
6 $mutex = _elgg_services()->mutex;
7 
8 if ($mutex->isLocked('upgrade')) {
9  $mutex->unlock('upgrade');
10 }
11 system_message(elgg_echo('upgrade:unlock:success'));
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$mutex
Unlocks the upgrade script.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
Definition: elgglib.js:425
const REFERER
Definition: elgglib.php:2029
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
Definition: autoloader.php:17
elgg system_message
Wrapper function for system_messages.
Definition: elgglib.js:390