Remove entry point check for files only contain classes

See https://www.mediawiki.org/w/index.php?title=Register_globals&oldid=3063934#Make_sure_code_is_only_executed_in_the_right_context
for more information

Bug: T230026
Change-Id: I937b002d7fa7469aa1b90a413900b9649e524e18
This commit is contained in:
Umherirrender 2019-08-07 17:16:41 +02:00
parent 699d7f91a5
commit 8ab128b44a

View file

@ -1,9 +1,5 @@
<?php
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
use \MediaWiki\MediaWikiServices;
use Wikimedia\Rdbms\Database;