]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/DBSync.php
Merge pull request #12424 from MrPetovan/task/10100-contact-relationship-prominence
[friendica.git] / src / Module / Admin / DBSync.php
index 6ef8d804aed80c6d9dee05c10c30c10b11fc7711..bb1fa903305552b7aa3af6c8a01d95e9b6abcf83 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -30,7 +30,7 @@ use Friendica\Module\BaseAdmin;
 
 class DBSync extends BaseAdmin
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                parent::content();
 
@@ -48,7 +48,7 @@ class DBSync extends BaseAdmin
                                                DI::config()->set('system', 'build', intval($curr) + 1);
                                        }
 
-                                       info(DI::l10n()->t('Update has been marked successful'));
+                                       DI::sysmsg()->addInfo(DI::l10n()->t('Update has been marked successful'));
                                }
 
                                break;