Code Duplication    Length = 4-7 lines in 2 locations

includes/filerepo/file/LocalFile.php 2 locations

@@ 2528-2531 (lines=4) @@
2525
				];
2526
2527
				// The live (current) version cannot be hidden!
2528
				if ( !$this->unsuppress && $row->fa_deleted ) {
2529
					$storeBatch[] = [ $deletedUrl, 'public', $destRel ];
2530
					$this->cleanupBatch[] = $row->fa_storage_key;
2531
				}
2532
			} else {
2533
				$archiveName = $row->fa_archive_name;
2534
@@ 2570-2576 (lines=7) @@
2567
2568
			$deleteIds[] = $row->fa_id;
2569
2570
			if ( !$this->unsuppress && $row->fa_deleted & File::DELETED_FILE ) {
2571
				// private files can stay where they are
2572
				$status->successCount++;
2573
			} else {
2574
				$storeBatch[] = [ $deletedUrl, 'public', $destRel ];
2575
				$this->cleanupBatch[] = $row->fa_storage_key;
2576
			}
2577
2578
			$first = false;
2579
		}