add check for $wgWikimediaJenkinsCI isset

Change-Id: If7e38cc4858fd970b5feb90a44a6787df822de98
This commit is contained in:
aude 2014-02-18 16:05:43 +01:00
parent 187ae0cd02
commit 7deac2a8f6

View file

@ -35,7 +35,7 @@ $wgPFEnableStringFunctions = false;
* Running Jenkins unit tests without setting $wgPFEnableStringFunctions = true;
* will cause all the parser tests for string functions to be skipped.
*/
if ( $wgWikimediaJenkinsCI === true ) {
if ( isset( $wgWikimediaJenkinsCI ) && ( $wgWikimediaJenkinsCI === true ) ) {
$wgPFEnableStringFunctions = true ;
}