Code Duplication    Length = 4-4 lines in 2 locations

includes/specials/SpecialRecentchanges.php 2 locations

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