Aaron Schulz has uploaded a new change for review.

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

Change subject: Fixed totally broken runner JSON response code
......................................................................

Fixed totally broken runner JSON response code

* Broken since 0a8cd64f84e80e2a800bc2002f15216a67e45fb6

Change-Id: I98b8a4ddbcdd58d1f2f23e4b1bf154f10b6b279e
---
M rpc/RunJobs.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/10/213010/1

diff --git a/rpc/RunJobs.php b/rpc/RunJobs.php
old mode 100644
new mode 100755
index 65a5f77..2085ab5
--- a/rpc/RunJobs.php
+++ b/rpc/RunJobs.php
@@ -41,7 +41,7 @@
                'maxTime'  => isset( $_GET['maxtime'] ) ? $_GET['maxtime'] : 30
        ) );
 
-       print json_encode( $wikis, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | 
JSON_UNESCAPED_UNICODE );
+       print json_encode( $response, JSON_PRETTY_PRINT | 
JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE );
 
        $mediawiki->restInPeace();
 } catch ( Exception $e ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98b8a4ddbcdd58d1f2f23e4b1bf154f10b6b279e
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to