From: Brad Jorsch Date: Mon, 22 Aug 2016 18:22:12 +0000 (-0400) Subject: API: Don't require 'users' parameter to contain all valid usernames X-Git-Tag: 1.31.0-rc.0~5968 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=71c4454be977d80f9371cba275a8eaba9587ad13;p=lhc%2Fweb%2Fwiklou.git API: Don't require 'users' parameter to contain all valid usernames Instead, go back to validating the individual values so one invalid name doesn't cause the whole module to error out. The code for that was all still there, just unused since Ic67fb540. Bug: T142895 Change-Id: Ia5eae51d69185580ac2c772afc198a92813e407a --- diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index cfc1e4662f..9b45b91923 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -328,7 +328,6 @@ class ApiQueryUsers extends ApiQueryBase { ], 'attachedwiki' => null, 'users' => [ - ApiBase::PARAM_TYPE => 'user', ApiBase::PARAM_ISMULTI => true ], 'token' => [