jenkins-bot has submitted this change and it was merged.

Change subject: Remove !defined( 'MEDIAWIKI' ) from two files
......................................................................


Remove !defined( 'MEDIAWIKI' ) from two files

Remove !defined( 'MEDIAWIKI' ) from ApiTranscodeReset.php and
ApiTranscodeStatus.php

Change-Id: Iacd0eb6cdb0de2ebe7eda1500dc8df749678ec4a
---
M ApiTranscodeReset.php
M ApiTranscodeStatus.php
2 files changed, 0 insertions(+), 9 deletions(-)

Approvals:
  Umherirrender: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/ApiTranscodeReset.php b/ApiTranscodeReset.php
index 597d17e..899188d 100644
--- a/ApiTranscodeReset.php
+++ b/ApiTranscodeReset.php
@@ -1,8 +1,4 @@
 <?php
-if ( !defined( 'MEDIAWIKI' ) ) {
-       // Eclipse helper - will be ignored in production
-       require_once( 'ApiBase.php' );
-}
 
 /**
  * Allows users with the 'transcode-reset' right to reset / re-run a transcode 
job.
diff --git a/ApiTranscodeStatus.php b/ApiTranscodeStatus.php
index 38dcccc..1b42a8c 100644
--- a/ApiTranscodeStatus.php
+++ b/ApiTranscodeStatus.php
@@ -7,11 +7,6 @@
  * on the image page.
  */
 
-if ( !defined( 'MEDIAWIKI' ) ) {
-       // Eclipse helper - will be ignored in production
-       require_once( "ApiBase.php" );
-}
-
 class ApiTranscodeStatus extends ApiQueryBase {
        public function execute() {
                $pageIds = $this->getPageSet()->getAllTitlesByNamespace();

-- 
To view, visit https://gerrit.wikimedia.org/r/247797
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iacd0eb6cdb0de2ebe7eda1500dc8df749678ec4a
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org>
Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com>
Gerrit-Reviewer: Umherirrender <umherirrender_de...@web.de>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to