Remove useless check for MEDIAWIKI definition
authorChad Horohoe <chadh@wikimedia.org>
Thu, 18 Aug 2016 17:11:01 +0000 (10:11 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 18 Aug 2016 17:15:10 +0000 (10:15 -0700)
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

languages/Language.php

index d96710a..8b39d77 100644 (file)
  * @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;
 
 /**