diff --git a/typo3/sysext/install/Classes/Updates/CommandLineBackendUserRemovalUpdate.php b/typo3/sysext/install/Classes/Updates/CommandLineBackendUserRemovalUpdate.php index 540d03acb35f03575d8b0f4a1a6aea5cfd702f2d..9492922caa3a1fa63bb4dfd6b1fadd80f7bd4a88 100644 --- a/typo3/sysext/install/Classes/Updates/CommandLineBackendUserRemovalUpdate.php +++ b/typo3/sysext/install/Classes/Updates/CommandLineBackendUserRemovalUpdate.php @@ -63,10 +63,10 @@ class CommandLineBackendUserRemovalUpdate extends AbstractUpdate * Performs the database update to set all be_users starting with _CLI_* to deleted * * @param array &$databaseQueries Queries done in this update - * @param mixed &$customMessages Custom messages + * @param string &$customMessage Custom message * @return bool */ - public function performUpdate(array &$databaseQueries, &$customMessages) + public function performUpdate(array &$databaseQueries, &$customMessage) { $usersFound = $this->getUnneededCommandLineUsers(); foreach ($usersFound as $userUid => $username) { @@ -84,7 +84,7 @@ class CommandLineBackendUserRemovalUpdate extends AbstractUpdate ->execute(); $databaseQueries[] = $queryBuilder->getSQL(); } - $customMessages[] = '<p>The following backend users have been deleted:</p><ul><li>' . implode('</li><li>', $usersFound) . '</li></ul>'; + $customMessage = '<p>The following backend users have been deleted:</p><ul><li>' . implode('</li><li>', $usersFound) . '</li></ul>'; $this->markWizardAsDone(); return true; }