]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/DBUpdate.php
Merge branch 'friendica:develop' into mastodon-edit-title-spoiler-update
[friendica.git] / src / Worker / DBUpdate.php
index c1f3b12ef05f40a221abeaae2e1a12eb03fa7707..7b7c3b8c92d97c9ac9a6a636bdf98fa05e36150f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -32,7 +32,7 @@ class DBUpdate
        public static function execute()
        {
                // Just in case the last update wasn't failed
-               if (DI::config()->get('system', 'update', Update::SUCCESS, true) != Update::FAILED) {
+               if (DI::config()->get('system', 'update', Update::SUCCESS) != Update::FAILED) {
                        Update::run(DI::app()->getBasePath());
                }
        }