X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Flanguage%2FrebuildLanguage.php;h=66948aebc5d7a260531d44ea620e83785b740147;hp=02c41d298e374a66702f8632f698d9783bccd766;hb=beb1c4a0eced04ce2098433c383f1fbe469569c9;hpb=42333412833ab7f7515e193b83a909921c34887d diff --git a/maintenance/language/rebuildLanguage.php b/maintenance/language/rebuildLanguage.php index 02c41d298e..66948aebc5 100644 --- a/maintenance/language/rebuildLanguage.php +++ b/maintenance/language/rebuildLanguage.php @@ -22,7 +22,7 @@ * @defgroup MaintenanceLanguage MaintenanceLanguage */ -require_once( __DIR__ . '/../commandLine.inc' ); +require_once __DIR__ . '/../commandLine.inc'; require_once 'languages.inc'; require_once 'writeMessagesArray.inc'; @@ -56,7 +56,7 @@ function rebuildLanguage( $languages, $code, $write, $listUnknown, $removeUnknow */ function removeDupes( $oldMsgArray, $dupeMsgSource ) { if ( file_exists( $dupeMsgSource ) ) { - include( $dupeMsgSource ); + include $dupeMsgSource; if ( !isset( $dupeMessages ) ) { echo "There are no duplicated messages in the source file provided."; exit( 1 );