r84931 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84930‎ | r84931 | r84932 >
Date:22:08, 28 March 2011
Author:nimishg
Status:ok
Tags:
Comment:
added proper user contribution lookup
Modified paths:
  • /trunk/extensions/UserDailyContribs/api/ApiUserDailyContribs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UserDailyContribs/api/ApiUserDailyContribs.php
@@ -23,7 +23,7 @@
2424 $result->addValue( $this->getModuleName() ,
2525 'registration', $user->getRegistration() );
2626 $result->addValue( $this->getModuleName() ,
27 - 'timeFrameEdits', getUserEditCountSince( $now - ($days * 60 *60 *24) ));
 27+ 'timeFrameEdits', getUserEditCountSince( $now - ($days * 60 *60 *24) ), $user );
2828 }
2929
3030 public function getAllowedParams() {

Status & tagging log