Code Duplication    Length = 9-10 lines in 2 locations

includes/changes/EnhancedChangesList.php 2 locations

@@ 426-435 (lines=10) @@
423
			}
424
		}
425
426
		if ( $rcObj->mAttribs['rc_type'] == RC_LOG ) {
427
			$data['logEntry'] = $this->insertLogEntry( $rcObj );
428
		} elseif ( $this->isCategorizationWithoutRevision( $rcObj ) ) {
429
			$data['comment'] = $this->insertComment( $rcObj );
430
		} else {
431
			# User links
432
			$data['userLink'] = $rcObj->userlink;
433
			$data['userTalkLink'] = $rcObj->usertalklink;
434
			$data['comment'] = $this->insertComment( $rcObj );
435
		}
436
437
		# Rollback
438
		$data['rollback'] = $this->getRollback( $rcObj );
@@ 651-659 (lines=9) @@
648
			$data['logEntry'] = $this->insertLogEntry( $rcObj );
649
		} elseif ( $this->isCategorizationWithoutRevision( $rcObj ) ) {
650
			$data['comment'] = $this->insertComment( $rcObj );
651
		} else {
652
			$data['userLink'] = $rcObj->userlink;
653
			$data['userTalkLink'] = $rcObj->usertalklink;
654
			$data['comment'] = $this->insertComment( $rcObj );
655
			if ( $type == RC_CATEGORIZE ) {
656
				$data['historyLink'] = $this->getDiffHistLinks( $rcObj, $query );
657
			}
658
			$data['rollback'] = $this->getRollback( $rcObj );
659
		}
660
661
		# Tags
662
		$data['tags'] = $this->getTags( $rcObj, $classes );