mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
Added maintenance notice
This commit is contained in:
parent
6c35f8ebf3
commit
e7e0bee0a9
2 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,7 @@ class DBStructure
|
|||
public static function update($verbose, $action, $install = false, array $tables = null, array $definition = null) {
|
||||
if ($action && !$install) {
|
||||
Config::set('system', 'maintenance', 1);
|
||||
Config::set('system', 'maintenance_reason', L10n::t(': Database update', DBM::date().' '.date('e')));
|
||||
Config::set('system', 'maintenance_reason', L10n::t('%1: Database update', DBM::date().' '.date('e')));
|
||||
}
|
||||
|
||||
$errors = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue