X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUserrights.php;h=2a364d9756799ee0ebea7c52de1d3010e29b8033;hb=0e25b050286bed143ed5a23e87d5543fe71ce5dd;hp=d857e4afdd3c5301acefe73cb9b5ed4a49b61eeb;hpb=94ad2bf3801eba8767363e22c16212fa084f9a2d;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 {