summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-17 16:01:11 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-10-01 08:27:12 +0200
commit6e104bc933036b77b2967334a99922eb26c40dbc (patch)
treecd4d0447836a92f94ae147d32068f0f28491759b /lib/private
parent50874de1cae27907ec17f481dd5e1117cc3bdc78 (diff)
downloadnextcloud-server-6e104bc933036b77b2967334a99922eb26c40dbc.tar.gz
nextcloud-server-6e104bc933036b77b2967334a99922eb26c40dbc.zip
Repair step to remove bogus expiration dates from non-link shares
Diffstat (limited to 'lib/private')
-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 3639440a518..20219e313fd 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -44,6 +44,7 @@ use OC\Repair\RepairLegacyStorages;
use OC\Repair\RepairMimeTypes;
use OC\Repair\SearchLuceneTables;
use OC\Repair\UpdateOutdatedOcsIds;
+use OC\Repair\RepairInvalidShares;
class Repair extends BasicEmitter {
/**
@@ -113,6 +114,7 @@ class Repair extends BasicEmitter {
new DropOldJobs(\OC::$server->getJobList()),
new RemoveGetETagEntries(\OC::$server->getDatabaseConnection()),
new UpdateOutdatedOcsIds(\OC::$server->getConfig()),
+ new RepairInvalidShares(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
];
}