X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUserrights.php;h=2a364d9756799ee0ebea7c52de1d3010e29b8033;hb=1d6097cd360769c4f104f2c969b4b2f8a1a22adf;hp=d857e4afdd3c5301acefe73cb9b5ed4a49b61eeb;hpb=fa32e55a7c7c133fd841f474237c6a11a1ff0588;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php index d857e4afdd..2a364d9756 100644 --- a/includes/api/ApiUserrights.php +++ b/includes/api/ApiUserrights.php @@ -58,7 +58,7 @@ class ApiUserrights extends ApiBase { $params = $this->extractRequestParams(); // Figure out expiry times from the input - // @todo Remove this isset check when removing $wgDisableUserGroupExpiry + // $params['expiry'] may not be set in subclasses if ( isset( $params['expiry'] ) ) { $expiry = (array)$params['expiry']; } else {