From: Reedy Date: Mon, 11 Jan 2016 12:50:24 +0000 (+0000) Subject: Don't call Title::getInternalURL with 2 parameters. X-Git-Tag: 1.31.0-rc.0~8380 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=f684d17b0e66c36dd509c526b0d2505d4f026794;p=lhc%2Fweb%2Fwiklou.git Don't call Title::getInternalURL with 2 parameters. Unnecessary, and causes a deprecated notice Change-Id: I823b2a037260d3d50a7b074d25d51c11c165d3b8 --- diff --git a/includes/Title.php b/includes/Title.php index 3f880f51b4..56ba4c7781 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3547,7 +3547,7 @@ class Title { if ( $pageLang->hasVariants() ) { $variants = $pageLang->getVariants(); foreach ( $variants as $vCode ) { - $urls[] = $this->getInternalURL( '', $vCode ); + $urls[] = $this->getInternalURL( $vCode ); } }