r71852 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71851‎ | r71852 | r71853 >
Date:12:11, 28 August 2010
Author:werdna
Status:deferred
Tags:
Comment:
Bugfixes for api module
Modified paths:
  • /trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php
@@ -85,8 +85,8 @@
8686
8787 $this->addWhereRange( 'afl_timestamp', $params['dir'], $params['start'], $params['end'] );
8888
89 - $db = $this->getDatabase();
90 - $notDeletedCond = SpecialAbuseLog::getNotDeletedCondition($db);
 89+ $db = $this->getDB();
 90+ $notDeletedCond = SpecialAbuseLog::getNotDeletedCond($db);
9191
9292 $this->addWhereIf( array( 'afl_user_text' => $params['user'] ), isset( $params['user'] ) );
9393 $this->addWhereIf( array( 'afl_filter' => $params['filter'] ), isset( $params['filter'] ) );

Follow-up revisions

RevisionCommit summaryAuthorDate
r71853Fix API errors (merge r71852)werdna12:13, 28 August 2010

Status & tagging log