summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-05 12:27:36 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-07-09 14:53:37 +0200
commit8a64433ec91aadad417e595ac63743d1b491b018 (patch)
tree1441ad81830b7f46f262761d13f5705b60fd2375 /lib/private/Repair.php
parent8b1084adfe6de26d8b0c28df18756640ed0d4093 (diff)
downloadnextcloud-server-8a64433ec91aadad417e595ac63743d1b491b018.tar.gz
nextcloud-server-8a64433ec91aadad417e595ac63743d1b491b018.zip
Add repair job for pending cron jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 78a60392219..ad9662ca1d7 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -38,6 +38,7 @@ use OC\Repair\MoveUpdaterStepFile;
use OC\Repair\NC11\FixMountStorages;
use OC\Repair\NC13\AddLogRotateJob;
use OC\Repair\NC14\AddPreviewBackgroundCleanupJob;
+use OC\Repair\NC14\RepairPendingCronJobs;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\Owncloud\DropAccountTermsTable;
use OC\Repair\Owncloud\SaveAccountsTableData;
@@ -137,6 +138,7 @@ class Repair implements IOutput{
new ClearFrontendCaches(\OC::$server->getMemCacheFactory(), \OC::$server->query(SCSSCacher::class), \OC::$server->query(JSCombiner::class)),
new AddPreviewBackgroundCleanupJob(\OC::$server->getJobList()),
new AddCleanupUpdaterBackupsJob(\OC::$server->getJobList()),
+ new RepairPendingCronJobs(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()),
];
}