http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70248

Revision: 70248
Author:   platonides
Date:     2010-07-31 22:18:32 +0000 (Sat, 31 Jul 2010)

Log Message:
-----------
Remove require for ApiBase in extension.

Modified Paths:
--------------
    trunk/extensions/Storyboard/api/ApiQueryStories.php
    trunk/extensions/Storyboard/api/ApiStoryExists.php
    trunk/extensions/Storyboard/api/ApiStoryReview.php

Modified: trunk/extensions/Storyboard/api/ApiQueryStories.php
===================================================================
--- trunk/extensions/Storyboard/api/ApiQueryStories.php 2010-07-31 22:13:08 UTC 
(rev 70247)
+++ trunk/extensions/Storyboard/api/ApiQueryStories.php 2010-07-31 22:18:32 UTC 
(rev 70248)
@@ -24,11 +24,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-if ( !defined( 'MEDIAWIKI' ) ) {
-       // Eclipse helper - will be ignored in production
-       require_once ( "ApiBase.php" );
-}
-
 /**
  * API class for the querieng of stories.
  *
@@ -226,4 +221,4 @@
                return __CLASS__ . ': $Id$';
        }
        
-}
\ No newline at end of file
+}

Modified: trunk/extensions/Storyboard/api/ApiStoryExists.php
===================================================================
--- trunk/extensions/Storyboard/api/ApiStoryExists.php  2010-07-31 22:13:08 UTC 
(rev 70247)
+++ trunk/extensions/Storyboard/api/ApiStoryExists.php  2010-07-31 22:18:32 UTC 
(rev 70248)
@@ -23,11 +23,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-if ( !defined( 'MEDIAWIKI' ) ) {
-       // Eclipse helper - will be ignored in production
-       require_once ( "ApiBase.php" );
-}
-
 /**
  * This action returns the html for Stories to be displayed in a storyboard.
  *
@@ -119,4 +114,4 @@
        public function getVersion() {
                return __CLASS__ . ': $Id: ApiStoryExists.php 63775 2010-03-15 
16:35:22Z jeroendedauw $';
        }
-}
\ No newline at end of file
+}

Modified: trunk/extensions/Storyboard/api/ApiStoryReview.php
===================================================================
--- trunk/extensions/Storyboard/api/ApiStoryReview.php  2010-07-31 22:13:08 UTC 
(rev 70247)
+++ trunk/extensions/Storyboard/api/ApiStoryReview.php  2010-07-31 22:18:32 UTC 
(rev 70248)
@@ -23,11 +23,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-if ( !defined( 'MEDIAWIKI' ) ) {
-       // Eclipse helper - will be ignored in production
-       require_once ( "ApiBase.php" );
-}
-
 /**
  * Api class that facilitates story review actions.
  *
@@ -167,4 +162,4 @@
        public function getVersion() {
                return __CLASS__ . ': $Id$';
        }
-}
\ No newline at end of file
+}



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

Reply via email to