mirror of
https://github.com/friendica/friendica
synced 2025-04-25 02:30:11 +00:00
Apply suggestions
This commit is contained in:
parent
072464119a
commit
b439df892a
14 changed files with 69 additions and 66 deletions
|
@ -182,10 +182,10 @@ class DBStructure
|
|||
$status = self::update($verbose, true);
|
||||
|
||||
if ($enable_maintenance_mode) {
|
||||
DI::config()->transactional()
|
||||
DI::config()->beginTransaction()
|
||||
->set('system', 'maintenance', false)
|
||||
->delete('system', 'maintenance_reason')
|
||||
->save();
|
||||
->commit();
|
||||
}
|
||||
|
||||
return $status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue