2013-11-26 08:12:48 -05:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2013-11-26 08:12:48 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2013-11-26 08:12:48 -05:00
|
|
|
*/
|
|
|
|
|
namespace OC;
|
|
|
|
|
|
2021-01-03 09:28:31 -05:00
|
|
|
use OC\DB\ConnectionAdapter;
|
2024-02-29 08:43:08 -05:00
|
|
|
use OC\Repair\AddAppConfigLazyMigration;
|
2020-10-08 09:02:51 -04:00
|
|
|
use OC\Repair\AddBruteForceCleanupJob;
|
2024-09-10 16:50:16 -04:00
|
|
|
use OC\Repair\AddCleanupDeletedUsersBackgroundJob;
|
2018-06-13 11:43:29 -04:00
|
|
|
use OC\Repair\AddCleanupUpdaterBackupsJob;
|
2023-11-16 09:02:38 -05:00
|
|
|
use OC\Repair\AddMetadataGenerationJob;
|
2023-06-28 08:59:20 -04:00
|
|
|
use OC\Repair\AddRemoveOldTasksBackgroundJob;
|
2015-01-14 05:57:26 -05:00
|
|
|
use OC\Repair\CleanTags;
|
2022-09-28 12:13:53 -04:00
|
|
|
use OC\Repair\CleanUpAbandonedApps;
|
2018-01-26 11:46:42 -05:00
|
|
|
use OC\Repair\ClearFrontendCaches;
|
2019-02-01 15:13:06 -05:00
|
|
|
use OC\Repair\ClearGeneratedAvatarCache;
|
2014-10-06 06:38:59 -04:00
|
|
|
use OC\Repair\Collation;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OC\Repair\Events\RepairAdvanceEvent;
|
|
|
|
|
use OC\Repair\Events\RepairErrorEvent;
|
|
|
|
|
use OC\Repair\Events\RepairFinishEvent;
|
|
|
|
|
use OC\Repair\Events\RepairInfoEvent;
|
|
|
|
|
use OC\Repair\Events\RepairStartEvent;
|
|
|
|
|
use OC\Repair\Events\RepairStepEvent;
|
|
|
|
|
use OC\Repair\Events\RepairWarningEvent;
|
2016-09-23 07:38:37 -04:00
|
|
|
use OC\Repair\MoveUpdaterStepFile;
|
2017-10-23 15:26:24 -04:00
|
|
|
use OC\Repair\NC13\AddLogRotateJob;
|
2018-05-08 08:47:50 -04:00
|
|
|
use OC\Repair\NC14\AddPreviewBackgroundCleanupJob;
|
2019-02-12 03:26:46 -05:00
|
|
|
use OC\Repair\NC16\AddClenupLoginFlowV2BackgroundJob;
|
2019-02-01 15:13:06 -05:00
|
|
|
use OC\Repair\NC16\CleanupCardDAVPhotoCache;
|
2019-08-21 03:12:42 -04:00
|
|
|
use OC\Repair\NC16\ClearCollectionsAccessCache;
|
2019-12-20 09:03:22 -05:00
|
|
|
use OC\Repair\NC18\ResetGeneratedAvatarFlag;
|
2020-08-12 07:22:24 -04:00
|
|
|
use OC\Repair\NC20\EncryptionLegacyCipher;
|
2020-06-22 09:35:52 -04:00
|
|
|
use OC\Repair\NC20\EncryptionMigration;
|
2020-08-24 04:12:25 -04:00
|
|
|
use OC\Repair\NC20\ShippedDashboardEnable;
|
2020-11-02 18:00:05 -05:00
|
|
|
use OC\Repair\NC21\AddCheckForUserCertificatesJob;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OC\Repair\NC22\LookupServerSendCheck;
|
|
|
|
|
use OC\Repair\NC24\AddTokenCleanupJob;
|
2022-11-23 10:04:42 -05:00
|
|
|
use OC\Repair\NC25\AddMissingSecretJob;
|
2025-02-24 08:52:24 -05:00
|
|
|
use OC\Repair\NC29\SanitizeAccountProperties;
|
2024-07-11 14:53:37 -04:00
|
|
|
use OC\Repair\NC30\RemoveLegacyDatadirFile;
|
2015-10-19 10:41:43 -04:00
|
|
|
use OC\Repair\OldGroupMembershipShares;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OC\Repair\Owncloud\CleanPreviews;
|
2017-07-27 05:27:25 -04:00
|
|
|
use OC\Repair\Owncloud\DropAccountTermsTable;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OC\Repair\Owncloud\MigrateOauthTables;
|
2025-08-26 09:11:26 -04:00
|
|
|
use OC\Repair\Owncloud\MigratePropertiesTable;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OC\Repair\Owncloud\MoveAvatars;
|
2017-05-11 08:04:53 -04:00
|
|
|
use OC\Repair\Owncloud\SaveAccountsTableData;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OC\Repair\Owncloud\UpdateLanguageCodes;
|
2024-11-27 22:16:58 -05:00
|
|
|
use OC\Repair\RemoveBrokenProperties;
|
2019-04-15 15:19:32 -04:00
|
|
|
use OC\Repair\RemoveLinkShares;
|
2021-01-29 11:00:18 -05:00
|
|
|
use OC\Repair\RepairDavShares;
|
2015-09-17 10:01:11 -04:00
|
|
|
use OC\Repair\RepairInvalidShares;
|
2024-07-10 09:29:45 -04:00
|
|
|
use OC\Repair\RepairLogoDimension;
|
2018-11-06 09:43:53 -05:00
|
|
|
use OC\Repair\RepairMimeTypes;
|
2018-01-26 11:46:42 -05:00
|
|
|
use OC\Template\JSCombiner;
|
2024-05-08 14:38:51 -04:00
|
|
|
use OCA\DAV\Migration\DeleteSchedulingObjects;
|
2025-01-24 04:19:40 -05:00
|
|
|
use OCA\DAV\Migration\RemoveObjectProperties;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OCP\AppFramework\QueryException;
|
|
|
|
|
use OCP\AppFramework\Utility\ITimeFactory;
|
|
|
|
|
use OCP\Collaboration\Resources\IManager;
|
|
|
|
|
use OCP\EventDispatcher\IEventDispatcher;
|
2025-05-15 11:08:41 -04:00
|
|
|
use OCP\Files\AppData\IAppDataFactory;
|
2024-09-17 08:03:35 -04:00
|
|
|
use OCP\IAppConfig;
|
|
|
|
|
use OCP\IConfig;
|
|
|
|
|
use OCP\IDBConnection;
|
2022-08-22 11:59:26 -04:00
|
|
|
use OCP\Migration\IOutput;
|
|
|
|
|
use OCP\Migration\IRepairStep;
|
2024-05-30 08:33:12 -04:00
|
|
|
use OCP\Notification\IManager as INotificationManager;
|
2021-02-01 08:56:56 -05:00
|
|
|
use Psr\Log\LoggerInterface;
|
2021-11-30 02:56:41 -05:00
|
|
|
use Throwable;
|
2013-11-26 08:12:48 -05:00
|
|
|
|
2018-11-06 09:43:53 -05:00
|
|
|
class Repair implements IOutput {
|
|
|
|
|
/** @var IRepairStep[] */
|
2024-01-30 06:14:52 -05:00
|
|
|
private array $repairSteps = [];
|
2018-11-06 09:43:53 -05:00
|
|
|
|
2022-09-28 12:13:53 -04:00
|
|
|
private string $currentStep;
|
2014-03-25 07:51:16 -04:00
|
|
|
|
2024-01-30 06:14:52 -05:00
|
|
|
public function __construct(
|
|
|
|
|
private IEventDispatcher $dispatcher,
|
|
|
|
|
private LoggerInterface $logger,
|
|
|
|
|
) {
|
|
|
|
|
}
|
2021-02-01 08:56:56 -05:00
|
|
|
|
2024-01-30 06:14:52 -05:00
|
|
|
/** @param IRepairStep[] $repairSteps */
|
|
|
|
|
public function setRepairSteps(array $repairSteps): void {
|
2014-06-10 05:47:27 -04:00
|
|
|
$this->repairSteps = $repairSteps;
|
2014-03-25 07:51:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Run a series of repair steps for common problems
|
2013-11-26 08:12:48 -05:00
|
|
|
*/
|
|
|
|
|
public function run() {
|
2014-06-10 05:47:27 -04:00
|
|
|
if (count($this->repairSteps) === 0) {
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairInfoEvent('No repair steps available'));
|
2018-11-06 09:43:53 -05:00
|
|
|
|
2014-06-10 05:47:27 -04:00
|
|
|
return;
|
|
|
|
|
}
|
2014-03-25 07:51:16 -04:00
|
|
|
// run each repair step
|
2014-06-10 05:47:27 -04:00
|
|
|
foreach ($this->repairSteps as $step) {
|
2016-04-27 06:21:31 -04:00
|
|
|
$this->currentStep = $step->getName();
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairStepEvent($this->currentStep));
|
2021-01-13 13:00:45 -05:00
|
|
|
try {
|
|
|
|
|
$step->run($this);
|
|
|
|
|
} catch (\Exception $e) {
|
2021-02-01 08:56:56 -05:00
|
|
|
$this->logger->error('Exception while executing repair step ' . $step->getName(), ['exception' => $e]);
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairErrorEvent($e->getMessage()));
|
2021-01-13 13:00:45 -05:00
|
|
|
}
|
2014-03-25 07:51:16 -04:00
|
|
|
}
|
2024-06-18 05:55:08 -04:00
|
|
|
|
|
|
|
|
$this->repairSteps = [];
|
2014-03-25 07:51:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2014-06-10 05:47:27 -04:00
|
|
|
* Add repair step
|
2014-03-25 07:51:16 -04:00
|
|
|
*
|
2016-04-22 09:35:39 -04:00
|
|
|
* @param IRepairStep|string $repairStep repair step
|
2016-04-19 09:36:11 -04:00
|
|
|
* @throws \Exception
|
2014-03-25 07:51:16 -04:00
|
|
|
*/
|
2014-06-10 05:47:27 -04:00
|
|
|
public function addStep($repairStep) {
|
2016-04-19 09:36:11 -04:00
|
|
|
if (is_string($repairStep)) {
|
2016-05-03 09:16:39 -04:00
|
|
|
try {
|
2022-08-22 11:59:26 -04:00
|
|
|
$s = \OC::$server->get($repairStep);
|
2016-05-03 09:16:39 -04:00
|
|
|
} catch (QueryException $e) {
|
|
|
|
|
if (class_exists($repairStep)) {
|
2021-11-30 02:56:41 -05:00
|
|
|
try {
|
|
|
|
|
// Last resort: hope there are no constructor arguments
|
|
|
|
|
$s = new $repairStep();
|
|
|
|
|
} catch (Throwable $inner) {
|
|
|
|
|
// Well, it was worth a try
|
|
|
|
|
throw new \Exception("Repair step '$repairStep' can't be instantiated: " . $e->getMessage(), 0, $e);
|
|
|
|
|
}
|
2016-04-19 09:36:11 -04:00
|
|
|
} else {
|
2021-11-30 04:57:49 -05:00
|
|
|
throw new \Exception("Repair step '$repairStep' is unknown", 0, $e);
|
2016-04-19 09:36:11 -04:00
|
|
|
}
|
2016-05-03 09:16:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($s instanceof IRepairStep) {
|
|
|
|
|
$this->repairSteps[] = $s;
|
2016-04-19 09:36:11 -04:00
|
|
|
} else {
|
2016-05-03 09:16:39 -04:00
|
|
|
throw new \Exception("Repair step '$repairStep' is not of type \\OCP\\Migration\\IRepairStep");
|
2016-04-19 09:36:11 -04:00
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
$this->repairSteps[] = $repairStep;
|
|
|
|
|
}
|
2013-11-26 08:12:48 -05:00
|
|
|
}
|
2014-03-25 07:51:16 -04:00
|
|
|
|
2014-06-10 05:47:27 -04:00
|
|
|
/**
|
|
|
|
|
* Returns the default repair steps to be run on the
|
|
|
|
|
* command line or after an upgrade.
|
|
|
|
|
*
|
2016-04-22 09:35:39 -04:00
|
|
|
* @return IRepairStep[]
|
2014-06-10 05:47:27 -04:00
|
|
|
*/
|
2022-09-28 12:13:53 -04:00
|
|
|
public static function getRepairSteps(): array {
|
2015-07-16 12:41:08 -04:00
|
|
|
return [
|
2022-03-17 12:26:27 -04:00
|
|
|
new Collation(\OC::$server->getConfig(), \OC::$server->get(LoggerInterface::class), \OC::$server->getDatabaseConnection(), false),
|
2016-06-14 06:30:22 -04:00
|
|
|
new CleanTags(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager()),
|
2015-09-17 10:01:11 -04:00
|
|
|
new RepairInvalidShares(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
|
2016-09-23 07:38:37 -04:00
|
|
|
new MoveUpdaterStepFile(\OC::$server->getConfig()),
|
2020-12-07 08:30:08 -05:00
|
|
|
new MoveAvatars(
|
|
|
|
|
\OC::$server->getJobList(),
|
|
|
|
|
\OC::$server->getConfig()
|
|
|
|
|
),
|
|
|
|
|
new CleanPreviews(
|
|
|
|
|
\OC::$server->getJobList(),
|
|
|
|
|
\OC::$server->getUserManager(),
|
|
|
|
|
\OC::$server->getConfig()
|
|
|
|
|
),
|
2025-08-26 09:11:26 -04:00
|
|
|
\OCP\Server::get(MigratePropertiesTable::class),
|
2025-01-15 05:01:05 -05:00
|
|
|
\OC::$server->get(MigrateOauthTables::class),
|
2020-12-07 08:30:08 -05:00
|
|
|
new UpdateLanguageCodes(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()),
|
2017-10-23 15:26:24 -04:00
|
|
|
new AddLogRotateJob(\OC::$server->getJobList()),
|
2023-06-06 05:09:24 -04:00
|
|
|
new ClearFrontendCaches(\OC::$server->getMemCacheFactory(), \OCP\Server::get(JSCombiner::class)),
|
2022-09-19 13:03:27 -04:00
|
|
|
\OCP\Server::get(ClearGeneratedAvatarCache::class),
|
2018-05-08 08:47:50 -04:00
|
|
|
new AddPreviewBackgroundCleanupJob(\OC::$server->getJobList()),
|
2018-06-13 11:43:29 -04:00
|
|
|
new AddCleanupUpdaterBackupsJob(\OC::$server->getJobList()),
|
2025-05-15 11:08:41 -04:00
|
|
|
new CleanupCardDAVPhotoCache(\OC::$server->getConfig(), \OCP\Server::get(IAppDataFactory::class), \OC::$server->get(LoggerInterface::class)),
|
2019-02-12 03:26:46 -05:00
|
|
|
new AddClenupLoginFlowV2BackgroundJob(\OC::$server->getJobList()),
|
2023-08-29 18:12:25 -04:00
|
|
|
new RemoveLinkShares(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig(), \OC::$server->getGroupManager(), \OC::$server->get(INotificationManager::class), \OCP\Server::get(ITimeFactory::class)),
|
2023-06-06 05:09:24 -04:00
|
|
|
new ClearCollectionsAccessCache(\OC::$server->getConfig(), \OCP\Server::get(IManager::class)),
|
2022-09-19 13:03:27 -04:00
|
|
|
\OCP\Server::get(ResetGeneratedAvatarFlag::class),
|
|
|
|
|
\OCP\Server::get(EncryptionLegacyCipher::class),
|
|
|
|
|
\OCP\Server::get(EncryptionMigration::class),
|
|
|
|
|
\OCP\Server::get(ShippedDashboardEnable::class),
|
|
|
|
|
\OCP\Server::get(AddBruteForceCleanupJob::class),
|
|
|
|
|
\OCP\Server::get(AddCheckForUserCertificatesJob::class),
|
|
|
|
|
\OCP\Server::get(RepairDavShares::class),
|
|
|
|
|
\OCP\Server::get(LookupServerSendCheck::class),
|
|
|
|
|
\OCP\Server::get(AddTokenCleanupJob::class),
|
2022-09-28 12:13:53 -04:00
|
|
|
\OCP\Server::get(CleanUpAbandonedApps::class),
|
2022-11-23 10:04:42 -05:00
|
|
|
\OCP\Server::get(AddMissingSecretJob::class),
|
2023-06-28 08:59:20 -04:00
|
|
|
\OCP\Server::get(AddRemoveOldTasksBackgroundJob::class),
|
2023-11-16 09:02:38 -05:00
|
|
|
\OCP\Server::get(AddMetadataGenerationJob::class),
|
2024-02-29 08:43:08 -05:00
|
|
|
\OCP\Server::get(AddAppConfigLazyMigration::class),
|
2024-07-10 09:29:45 -04:00
|
|
|
\OCP\Server::get(RepairLogoDimension::class),
|
2024-07-11 14:53:37 -04:00
|
|
|
\OCP\Server::get(RemoveLegacyDatadirFile::class),
|
2024-09-10 16:50:16 -04:00
|
|
|
\OCP\Server::get(AddCleanupDeletedUsersBackgroundJob::class),
|
2025-02-24 08:52:24 -05:00
|
|
|
\OCP\Server::get(SanitizeAccountProperties::class),
|
2015-07-16 12:41:08 -04:00
|
|
|
];
|
2014-06-10 05:47:27 -04:00
|
|
|
}
|
|
|
|
|
|
2015-10-19 10:41:43 -04:00
|
|
|
/**
|
|
|
|
|
* Returns expensive repair steps to be run on the
|
|
|
|
|
* command line with a special option.
|
|
|
|
|
*
|
2016-04-22 09:35:39 -04:00
|
|
|
* @return IRepairStep[]
|
2015-10-19 10:41:43 -04:00
|
|
|
*/
|
|
|
|
|
public static function getExpensiveRepairSteps() {
|
|
|
|
|
return [
|
2020-12-07 10:36:49 -05:00
|
|
|
new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()),
|
2024-11-27 22:16:58 -05:00
|
|
|
new RemoveBrokenProperties(\OCP\Server::get(IDBConnection::class)),
|
2024-09-17 08:03:35 -04:00
|
|
|
new RepairMimeTypes(
|
|
|
|
|
\OCP\Server::get(IConfig::class),
|
|
|
|
|
\OCP\Server::get(IAppConfig::class),
|
|
|
|
|
\OCP\Server::get(IDBConnection::class)
|
|
|
|
|
),
|
2025-02-24 08:52:24 -05:00
|
|
|
\OCP\Server::get(DeleteSchedulingObjects::class),
|
2025-01-24 04:19:40 -05:00
|
|
|
\OC::$server->get(RemoveObjectProperties::class),
|
2015-10-19 10:41:43 -04:00
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
2014-06-10 05:47:27 -04:00
|
|
|
/**
|
|
|
|
|
* Returns the repair steps to be run before an
|
|
|
|
|
* upgrade.
|
|
|
|
|
*
|
2016-04-22 09:35:39 -04:00
|
|
|
* @return IRepairStep[]
|
2014-06-10 05:47:27 -04:00
|
|
|
*/
|
|
|
|
|
public static function getBeforeUpgradeRepairSteps() {
|
2021-01-03 09:28:31 -05:00
|
|
|
/** @var ConnectionAdapter $connectionAdapter */
|
|
|
|
|
$connectionAdapter = \OC::$server->get(ConnectionAdapter::class);
|
2020-10-05 09:12:57 -04:00
|
|
|
$config = \OC::$server->getConfig();
|
|
|
|
|
$steps = [
|
2022-03-17 12:26:27 -04:00
|
|
|
new Collation(\OC::$server->getConfig(), \OC::$server->get(LoggerInterface::class), $connectionAdapter, true),
|
2021-01-03 09:28:31 -05:00
|
|
|
new SaveAccountsTableData($connectionAdapter, $config),
|
2021-01-29 11:00:18 -05:00
|
|
|
new DropAccountTermsTable($connectionAdapter),
|
2015-12-08 02:46:41 -05:00
|
|
|
];
|
2014-09-21 11:16:21 -04:00
|
|
|
|
|
|
|
|
return $steps;
|
2014-06-10 05:47:27 -04:00
|
|
|
}
|
2014-06-26 08:27:41 -04:00
|
|
|
|
2023-10-31 07:06:09 -04:00
|
|
|
public function debug(string $message): void {
|
|
|
|
|
}
|
|
|
|
|
|
2014-06-26 08:27:41 -04:00
|
|
|
/**
|
2022-08-22 11:59:26 -04:00
|
|
|
* @param string $message
|
2014-06-26 08:27:41 -04:00
|
|
|
*/
|
2022-08-22 11:59:26 -04:00
|
|
|
public function info($message) {
|
2016-04-22 09:35:39 -04:00
|
|
|
// for now just emit as we did in the past
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairInfoEvent($message));
|
2016-04-22 09:35:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param string $message
|
|
|
|
|
*/
|
|
|
|
|
public function warning($message) {
|
|
|
|
|
// for now just emit as we did in the past
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairWarningEvent($message));
|
2016-04-22 09:35:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param int $max
|
|
|
|
|
*/
|
|
|
|
|
public function startProgress($max = 0) {
|
|
|
|
|
// for now just emit as we did in the past
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairStartEvent($max, $this->currentStep));
|
2016-04-22 09:35:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2022-08-25 10:26:31 -04:00
|
|
|
* @param int $step number of step to advance
|
2016-04-27 06:21:31 -04:00
|
|
|
* @param string $description
|
2016-04-22 09:35:39 -04:00
|
|
|
*/
|
2016-04-27 06:21:31 -04:00
|
|
|
public function advance($step = 1, $description = '') {
|
2016-04-22 09:35:39 -04:00
|
|
|
// for now just emit as we did in the past
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairAdvanceEvent($step, $description));
|
2016-04-22 09:35:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param int $max
|
|
|
|
|
*/
|
|
|
|
|
public function finishProgress() {
|
|
|
|
|
// for now just emit as we did in the past
|
2022-08-22 11:59:26 -04:00
|
|
|
$this->dispatcher->dispatchTyped(new RepairFinishEvent());
|
2016-04-22 09:35:39 -04:00
|
|
|
}
|
2013-11-26 08:12:48 -05:00
|
|
|
}
|