Elgg  Version 3.0
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 
12 return elgg_ok_response('', elgg_echo('upgrade:unlock:success'));
$mutex
Unlocks the upgrade script.
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_ok_response($content= '', $message= '', $forward_url=null, $status_code=ELGG_HTTP_OK)
Prepares a successful response to be returned by a page or an action handler.
_elgg_services()
Get the global service provider.
Definition: elgglib.php:1292