From: Chad Horohoe Date: Thu, 18 Aug 2016 17:11:01 +0000 (-0700) Subject: Remove useless check for MEDIAWIKI definition X-Git-Tag: 1.31.0-rc.0~6009^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=02f9963f072350138add69fbc38d13e64c124fa8 Remove useless check for MEDIAWIKI definition This class isn't any more special than others, it can be autoloaded like all the others and there's nothing to execute in the file scope Change-Id: I7c415025c9c15cf19110f39452df3a14e44bf6f9 --- diff --git a/languages/Language.php b/languages/Language.php index d96710a626..8b39d7734a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -25,11 +25,6 @@ * @defgroup Language Language */ -if ( !defined( 'MEDIAWIKI' ) ) { - echo "This file is part of MediaWiki, it is not a valid entry point.\n"; - exit( 1 ); -} - use CLDRPluralRuleParser\Evaluator; /**