mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Hardening ConfigUpgrade
This commit is contained in:
parent
1c2a77c47f
commit
e0b1f4f251
5 changed files with 126 additions and 57 deletions
|
@ -33,7 +33,7 @@ require dirname(__DIR__) . '/vendor/autoload.php';
|
|||
$a = Factory\DependencyFactory::setUp('worker', dirname(__DIR__));
|
||||
|
||||
// Check the database structure and possibly fixes it
|
||||
Update::check($a->getBasePath(), true);
|
||||
Update::check($a->getBasePath(), true, $a->getMode());
|
||||
|
||||
// Quit when in maintenance
|
||||
if (!$a->getMode()->has(App\Mode::MAINTENANCEDISABLED)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue