mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-23 18:28:20 +00:00
QueryAbuseLog: remove duplicate setting $conds = []
Change-Id: I50ffe91656c9c74111a3ecd4808b8a1d2cd79504
This commit is contained in:
parent
0dc93136d6
commit
0fa804ff3a
|
@ -238,7 +238,6 @@ class QueryAbuseLog extends ApiQueryBase {
|
|||
$key = $isGlobal ? 'global' : 'local';
|
||||
$filterConds[$key][] = $filter[0];
|
||||
}
|
||||
$conds = [];
|
||||
// @phan-suppress-next-line PhanImpossibleCondition False positive
|
||||
if ( $filterConds['local'] ) {
|
||||
$conds[] = $this->getDB()->makeList(
|
||||
|
|
Loading…
Reference in a new issue