Elgg  Version 2.3
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'));
system_message($message)
Display a system message on next page load.
Definition: elgglib.php:450
const REFERER
Definition: elgglib.php:2123
forward($location="", $reason='system')
Forward to $location.
Definition: elgglib.php:94
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
Definition: autoloader.php:17
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.