jenkins-bot has submitted this change and it was merged. Change subject: Remove inclusion guards on class-only files ......................................................................
Remove inclusion guards on class-only files Change-Id: I432d22fae9e40a21e2118b6e04843047e3fbf654 --- M CategoryTreeFunctions.php M CategoryTreePage.php 2 files changed, 0 insertions(+), 10 deletions(-) Approvals: Reedy: Looks good to me, approved Fomafix: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/CategoryTreeFunctions.php b/CategoryTreeFunctions.php index 69fb6a3..2f88dcc 100644 --- a/CategoryTreeFunctions.php +++ b/CategoryTreeFunctions.php @@ -10,11 +10,6 @@ * @license GNU General Public Licence 2.0 or later */ -if ( !defined( 'MEDIAWIKI' ) ) { - echo( "This file is part of an extension to the MediaWiki software and cannot be used standalone.\n" ); - die( 1 ); -} - class CategoryTree { public $mOptions = array(); diff --git a/CategoryTreePage.php b/CategoryTreePage.php index 6cc7f07..4b2420d 100644 --- a/CategoryTreePage.php +++ b/CategoryTreePage.php @@ -10,11 +10,6 @@ * @license GNU General Public Licence 2.0 or later */ -if ( !defined( 'MEDIAWIKI' ) ) { - echo( "This file is part of an extension to the MediaWiki software and cannot be used standalone.\n" ); - die( 1 ); -} - class CategoryTreePage extends SpecialPage { public $target = ''; -- To view, visit https://gerrit.wikimedia.org/r/315841 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I432d22fae9e40a21e2118b6e04843047e3fbf654 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CategoryTree Gerrit-Branch: master Gerrit-Owner: Chad <ch...@wikimedia.org> Gerrit-Reviewer: Fomafix <foma...@googlemail.com> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits