Anomie has uploaded a new change for review.

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

Change subject: $wgAPIModules should extend ApiBase, not ApiQueryBase
......................................................................

$wgAPIModules should extend ApiBase, not ApiQueryBase

I have no idea why this was extending ApiQueryBase since it doesn't use
any methods defined in that class. But at least that makes it easy to
fix.

Change-Id: I632d10322d6f0670577a1fb207927660eab1ac62
(cherry picked from commit f1479162c719182b0ccc408df0962c8040441e02)
---
M includes/api/ApiListStudents.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EducationProgram 
refs/changes/17/136217/1

diff --git a/includes/api/ApiListStudents.php b/includes/api/ApiListStudents.php
index 19302ee..4983d8a 100644
--- a/includes/api/ApiListStudents.php
+++ b/includes/api/ApiListStudents.php
@@ -1,7 +1,7 @@
 <?php
 
 namespace EducationProgram;
-use ApiBase, ApiQueryBase, User;
+use ApiBase, User;
 
 /**
  * API module for gathering the usernames of students in one or more courses.
@@ -14,7 +14,7 @@
  * @licence GNU GPL v2+
  * @author Sage Ross <[email protected]>
  */
-class ApiListStudents extends ApiQueryBase {
+class ApiListStudents extends ApiBase {
 
        public function execute() {
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I632d10322d6f0670577a1fb207927660eab1ac62
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: wmf/1.24wmf7
Gerrit-Owner: Anomie <[email protected]>

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

Reply via email to