Anomie has uploaded a new change for review.

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

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
---
M includes/api/ApiListStudents.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EducationProgram 
refs/changes/59/136159/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 <s...@ragesoss.com>
  */
-class ApiListStudents extends ApiQueryBase {
+class ApiListStudents extends ApiBase {
 
        public function execute() {
 

-- 
To view, visit https://gerrit.wikimedia.org/r/136159
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: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

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

Reply via email to