Skip to content

Commit fdb9d12

Browse files
authored
Merge pull request #60466 from nextcloud/share-target-repair-expensive
fix: properly mark CleanupShareTarget as expensive
2 parents 26df031 + 57a80c2 commit fdb9d12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/files_sharing/lib/Repair/CleanupShareTarget.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
use OCP\IUser;
2121
use OCP\IUserManager;
2222
use OCP\Migration\IOutput;
23-
use OCP\Migration\IRepairStep;
23+
use OCP\Migration\IRepairStepExpensive;
2424
use OCP\Share\IShare;
2525
use Psr\Log\LoggerInterface;
2626

2727
/**
2828
* @psalm-type ShareInfo = array{id: string|int, share_type: string, share_with: string, file_source: string, file_target: string}
2929
*/
30-
class CleanupShareTarget implements IRepairStep {
30+
class CleanupShareTarget implements IRepairStepExpensive {
3131
/** we only care about shares with a user target,
3232
* since the underling group/deck/talk share doesn't get moved
3333
*/

0 commit comments

Comments
 (0)