X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryContributors.php;h=f802d9ef8c63b3b5d18a38005954405454e7d17d;hb=12601ff7d2796752404bfb331fccc41083d31f9f;hp=183409d24f24cf602e1bf8e5de052e9469866ea6;hpb=d506839ee9dfe6818b8a62a6a78e24de520708b0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryContributors.php b/includes/api/ApiQueryContributors.php index 183409d24f..f802d9ef8c 100644 --- a/includes/api/ApiQueryContributors.php +++ b/includes/api/ApiQueryContributors.php @@ -4,7 +4,7 @@ * * Created on Nov 14, 2013 * - * Copyright © 2013 Brad Jorsch + * Copyright © 2013 Wikimedia Foundation and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -163,9 +163,7 @@ class ApiQueryContributors extends ApiQueryBase { [ 'ug_user=rev_user', 'ug_group' => $limitGroups, - $this->getConfig()->get( 'DisableUserGroupExpiry' ) ? - '1' : - 'ug_expiry IS NULL OR ug_expiry >= ' . $db->addQuotes( $db->timestamp() ) + 'ug_expiry IS NULL OR ug_expiry >= ' . $db->addQuotes( $db->timestamp() ) ] ] ] ); $this->addWhereIf( 'ug_user IS NULL', $excludeGroups );