r70248 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70247‎ | r70248 | r70249 >
Date:22:18, 31 July 2010
Author:platonides
Status:deferred
Tags:
Comment:
Remove require for ApiBase in extension.
Modified paths:
  • /trunk/extensions/Storyboard/api/ApiQueryStories.php (modified) (history)
  • /trunk/extensions/Storyboard/api/ApiStoryExists.php (modified) (history)
  • /trunk/extensions/Storyboard/api/ApiStoryReview.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Storyboard/api/ApiStoryExists.php
@@ -23,11 +23,6 @@
2424 * http://www.gnu.org/copyleft/gpl.html
2525 */
2626
27 -if ( !defined( 'MEDIAWIKI' ) ) {
28 - // Eclipse helper - will be ignored in production
29 - require_once ( "ApiBase.php" );
30 -}
31 -
3227 /**
3328 * This action returns the html for Stories to be displayed in a storyboard.
3429 *
@@ -119,4 +114,4 @@
120115 public function getVersion() {
121116 return __CLASS__ . ': $Id: ApiStoryExists.php 63775 2010-03-15 16:35:22Z jeroendedauw $';
122117 }
123 -}
\ No newline at end of file
 118+}
Index: trunk/extensions/Storyboard/api/ApiStoryReview.php
@@ -23,11 +23,6 @@
2424 * http://www.gnu.org/copyleft/gpl.html
2525 */
2626
27 -if ( !defined( 'MEDIAWIKI' ) ) {
28 - // Eclipse helper - will be ignored in production
29 - require_once ( "ApiBase.php" );
30 -}
31 -
3227 /**
3328 * Api class that facilitates story review actions.
3429 *
@@ -167,4 +162,4 @@
168163 public function getVersion() {
169164 return __CLASS__ . ': $Id$';
170165 }
171 -}
\ No newline at end of file
 166+}
Index: trunk/extensions/Storyboard/api/ApiQueryStories.php
@@ -24,11 +24,6 @@
2525 * http://www.gnu.org/copyleft/gpl.html
2626 */
2727
28 -if ( !defined( 'MEDIAWIKI' ) ) {
29 - // Eclipse helper - will be ignored in production
30 - require_once ( "ApiBase.php" );
31 -}
32 -
3328 /**
3429 * API class for the querieng of stories.
3530 *
@@ -226,4 +221,4 @@
227222 return __CLASS__ . ': $Id$';
228223 }
229224
230 -}
\ No newline at end of file
 225+}

Status & tagging log