Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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.
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