Index: trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php |
— | — | @@ -85,8 +85,8 @@ |
86 | 86 | |
87 | 87 | $this->addWhereRange( 'afl_timestamp', $params['dir'], $params['start'], $params['end'] ); |
88 | 88 | |
89 | | - $db = $this->getDatabase(); |
90 | | - $notDeletedCond = SpecialAbuseLog::getNotDeletedCondition($db); |
| 89 | + $db = $this->getDB(); |
| 90 | + $notDeletedCond = SpecialAbuseLog::getNotDeletedCond($db); |
91 | 91 | |
92 | 92 | $this->addWhereIf( array( 'afl_user_text' => $params['user'] ), isset( $params['user'] ) ); |
93 | 93 | $this->addWhereIf( array( 'afl_filter' => $params['filter'] ), isset( $params['filter'] ) ); |