Code Duplication    Length = 5-5 lines in 2 locations

includes/actions/CreditsAction.php 1 location

@@ 177-181 (lines=5) @@
174
175
		# This is the big list, all mooshed together. We sift for blank strings
176
		$fulllist = [];
177
		foreach ( [ $real, $user, $anon, $others_link ] as $s ) {
178
			if ( $s !== false ) {
179
				array_push( $fulllist, $s );
180
			}
181
		}
182
183
		$count = count( $fulllist );
184

includes/actions/InfoAction.php 1 location

@@ 880-884 (lines=5) @@
877
878
		# This is the big list, all mooshed together. We sift for blank strings
879
		$fulllist = [];
880
		foreach ( [ $real, $user, $anon ] as $s ) {
881
			if ( $s !== '' ) {
882
				array_push( $fulllist, $s );
883
			}
884
		}
885
886
		$count = count( $fulllist );
887