From: Michael Date: Mon, 12 Nov 2018 10:36:10 +0000 (+0000) Subject: Execute database update before post update is called X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=109204032c2eac1963b762b2f1d91e0a691b1055;p=friendica.git Execute database update before post update is called --- diff --git a/src/Core/Console/PostUpdate.php b/src/Core/Console/PostUpdate.php index 1215591a20..17ed231f97 100644 --- a/src/Core/Console/PostUpdate.php +++ b/src/Core/Console/PostUpdate.php @@ -4,6 +4,7 @@ namespace Friendica\Core\Console; use Friendica\Core\L10n; use Friendica\Core\Config; +use Friendica\Core\Update; /** * Performs database post updates @@ -54,6 +55,10 @@ HELP; throw new \RuntimeException('Database isn\'t ready or populated yet'); } + echo L10n::t('Check for pending update actions.') . "\n"; + Update::run(true, true, false); + echo L10n::t('Done.') . "\n"; + echo L10n::t('Execute pending post updates.') . "\n"; while (!\Friendica\Database\PostUpdate::update()) {