Code Duplication    Length = 4-4 lines in 2 locations

includes/specials/SpecialRecentchanges.php 2 locations

@@ 717-720 (lines=4) @@
714
715
		// limit links
716
		$cl = [];
717
		foreach ( $linkLimits as $value ) {
718
			$cl[] = $this->makeOptionsLink( $lang->formatNum( $value ),
719
				[ 'limit' => $value ], $nondefaults, $value == $options['limit'] );
720
		}
721
		$cl = $lang->pipeList( $cl );
722
723
		// day links, reset 'from' to none
@@ 725-728 (lines=4) @@
722
723
		// day links, reset 'from' to none
724
		$dl = [];
725
		foreach ( $linkDays as $value ) {
726
			$dl[] = $this->makeOptionsLink( $lang->formatNum( $value ),
727
				[ 'days' => $value, 'from' => '' ], $nondefaults, $value == $options['days'] );
728
		}
729
		$dl = $lang->pipeList( $dl );
730
731
		// show/hide links