]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/AutomaticInstallation.php
Merge pull request #12591 from MrPetovan/task/2023-licence
[friendica.git] / src / Console / AutomaticInstallation.php
index e3e9e22cb39e8acd54e71fd3ff5db781673bdee9..83c6ac4c3865e77b6e6e5ffe17bbcd8ce12975fa 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
  *
@@ -110,7 +110,7 @@ HELP;
                $this->dba         = $dba;
        }
 
-       protected function doExecute()
+       protected function doExecute(): int
        {
                // Initialise the app
                $this->out("Initializing setup...");
@@ -225,7 +225,7 @@ HELP;
 
                $installer->resetChecks();
 
-               if (!$installer->installDatabase($basePathConf)) {
+               if (!$installer->installDatabase()) {
                        $errorMessage = $this->extractErrors($installer->getChecks());
                        throw new RuntimeException($errorMessage);
                }