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

@@ 857-861 (lines=5) @@
854
855
		# This is the big list, all mooshed together. We sift for blank strings
856
		$fulllist = [];
857
		foreach ( [ $real, $user, $anon ] as $s ) {
858
			if ( $s !== '' ) {
859
				array_push( $fulllist, $s );
860
			}
861
		}
862
863
		$count = count( $fulllist );
864