From: Sam Reed Date: Wed, 13 Oct 2010 23:43:21 +0000 (+0000) Subject: Fixup r74646 X-Git-Tag: 1.31.0-rc.0~34514 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=c144bb3dc3f5cc4992892219fa0dac264b300076;p=lhc%2Fweb%2Fwiklou.git Fixup r74646 Remove unreachable return false; Fix $tohis to $this --- diff --git a/maintenance/tests/phpunit/bootstrap.php b/maintenance/tests/phpunit/bootstrap.php index 369cfe1120..594db1b71d 100644 --- a/maintenance/tests/phpunit/bootstrap.php +++ b/maintenance/tests/phpunit/bootstrap.php @@ -44,12 +44,11 @@ abstract class MediaWikiTestSetup extends PHPUnit_Framework_TestCase { function __call( $func, $args ) { if ( method_exists( $this->suite, $func ) ) { - return call_user_func_array( array( $tohis->suite, $func ), $args); + return call_user_func_array( array( $this->suite, $func ), $args); } else { throw new MWException( "Called non-existant $func method on " . get_class( $this ) ); } - return false; } }