Skip to content

Commit 478b012

Browse files
authored
Merge pull request #50391 from nextcloud/fix/dav/remove-object-properties-expensive
fix(dav): Mark removal of dav object properties as expensive
2 parents e80d89b + ffd2b3b commit 478b012

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/dav/appinfo/info.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
<step>OCA\DAV\Migration\RemoveOrphanEventsAndContacts</step>
4747
<step>OCA\DAV\Migration\RemoveClassifiedEventActivity</step>
4848
<step>OCA\DAV\Migration\RemoveDeletedUsersCalendarSubscriptions</step>
49-
<step>OCA\DAV\Migration\RemoveObjectProperties</step>
5049
</post-migration>
5150
<live-migration>
5251
<step>OCA\DAV\Migration\ChunkCleanup</step>

lib/private/Repair.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
use OC\Repair\RepairMimeTypes;
5959
use OC\Template\JSCombiner;
6060
use OCA\DAV\Migration\DeleteSchedulingObjects;
61+
use OCA\DAV\Migration\RemoveObjectProperties;
6162
use OCP\AppFramework\QueryException;
6263
use OCP\AppFramework\Utility\ITimeFactory;
6364
use OCP\Collaboration\Resources\IManager;
@@ -217,6 +218,7 @@ public static function getExpensiveRepairSteps() {
217218
\OCP\Server::get(IDBConnection::class)
218219
),
219220
\OCP\Server::get(DeleteSchedulingObjects::class),
221+
\OC::$server->get(RemoveObjectProperties::class),
220222
];
221223
}
222224

0 commit comments

Comments
 (0)