mirror of
https://github.com/friendica/friendica
synced 2025-04-22 23:50:13 +00:00
"update" is enough
This commit is contained in:
parent
cf56de1e77
commit
2d7cd2daf4
5 changed files with 8 additions and 8 deletions
|
@ -182,7 +182,7 @@ class DBStructure {
|
|||
return t('Errors encountered performing database changes: ').$message.EOL;
|
||||
}
|
||||
|
||||
public static function updateStructure($verbose, $action, $tables = null, $definition = null) {
|
||||
public static function update($verbose, $action, $tables = null, $definition = null) {
|
||||
if ($action) {
|
||||
Config::set('system', 'maintenance', 1);
|
||||
Config::set('system', 'maintenance_reason', sprintf(t(': Database update'), DBM::date().' '.date('e')));
|
||||
|
@ -1686,4 +1686,4 @@ class DBStructure {
|
|||
|
||||
return($database);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue