QueryAbuseLog: remove duplicate setting $conds = []

Change-Id: I50ffe91656c9c74111a3ecd4808b8a1d2cd79504
This commit is contained in:
DannyS712 2021-04-19 01:22:39 +00:00
parent 0dc93136d6
commit 0fa804ff3a

View file

@ -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(