]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/PostUpdate.php
Execute database update before post update is called
[friendica.git] / src / Core / Console / PostUpdate.php
index 1215591a20ebadf1ff66606889d04beee4b97149..17ed231f978f1d3a0e365bf738c84e472483ffc1 100644 (file)
@@ -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()) {