Elgg  Version master
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'));
elgg_ok_response($content= '', string|array $message= '', string $forward_url=null, int $status_code=ELGG_HTTP_OK)
Prepares a successful response to be returned by a page or an action handler.
$mutex
Unlocks the upgrade script.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
_elgg_services()
Get the global service provider.
Definition: elgglib.php:351