Code Duplication    Length = 4-7 lines in 2 locations

includes/filerepo/file/LocalFile.php 2 locations

@@ 2520-2523 (lines=4) @@
2517
				);
2518
2519
				// The live (current) version cannot be hidden!
2520
				if ( !$this->unsuppress && $row->fa_deleted ) {
2521
					$storeBatch[] = array( $deletedUrl, 'public', $destRel );
2522
					$this->cleanupBatch[] = $row->fa_storage_key;
2523
				}
2524
			} else {
2525
				$archiveName = $row->fa_archive_name;
2526
@@ 2562-2568 (lines=7) @@
2559
2560
			$deleteIds[] = $row->fa_id;
2561
2562
			if ( !$this->unsuppress && $row->fa_deleted & File::DELETED_FILE ) {
2563
				// private files can stay where they are
2564
				$status->successCount++;
2565
			} else {
2566
				$storeBatch[] = array( $deletedUrl, 'public', $destRel );
2567
				$this->cleanupBatch[] = $row->fa_storage_key;
2568
			}
2569
2570
			$first = false;
2571
		}