From 02f9963f072350138add69fbc38d13e64c124fa8 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 18 Aug 2016 10:11:01 -0700 Subject: [PATCH] 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 --- languages/Language.php | 5 ----- 1 file changed, 5 deletions(-) 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; /** -- 2.20.1