Stop using in_string(). WikiScripts and AbuseFilter are the only exts still using this silly thing.

This commit is contained in:
Chad Horohoe 2012-01-11 14:47:27 +00:00
parent c31468e363
commit e60a8ed523
Notes: Chad Horohoe 2012-01-11 14:47:27 +00:00

View file

@ -13,7 +13,7 @@ $pass = $fail = 0;
$parser = new ExprParser;
foreach ( $tests as $test ) {
$test = trim( $test );
if ( in_string( ';', $test ) )
if ( strpos( $test, ';' ) !== false )
list( $input, $expected ) = explode( ';', $test );
else {
$input = $test;