mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 00:54:26 +02:00
Reduce the parameter chaos by splitting the update function
This commit is contained in:
parent
90f1175cf5
commit
8eb3bddc2a
6 changed files with 60 additions and 18 deletions
|
@ -54,7 +54,7 @@ class DBSync extends BaseAdmin
|
|||
break;
|
||||
case 'check':
|
||||
// @TODO Seems like a similar logic like Update::check()
|
||||
$retval = DBStructure::update($a->getBasePath(), false, true);
|
||||
$retval = DBStructure::performUpdate();
|
||||
if ($retval === '') {
|
||||
$o = DI::l10n()->t("Database structure update %s was successfully applied.", DB_UPDATE_VERSION) . "<br />";
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue