mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-13 17:53:33 +00:00
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:
parent
699d7f91a5
commit
8ab128b44a
|
@ -1,9 +1,5 @@
|
|||
<?php
|
||||
|
||||
if ( !defined( 'MEDIAWIKI' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
use \MediaWiki\MediaWikiServices;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
|
||||
|
|
Loading…
Reference in a new issue