Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/315841

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CategoryTree 
refs/changes/41/315841/1

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: newchange
Gerrit-Change-Id: I432d22fae9e40a21e2118b6e04843047e3fbf654
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CategoryTree
Gerrit-Branch: master
Gerrit-Owner: Chad <ch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to