Index: trunk/extensions/UserDailyContribs/api/ApiUserDailyContribs.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | $result->addValue( $this->getModuleName() , |
25 | 25 | 'registration', $user->getRegistration() ); |
26 | 26 | $result->addValue( $this->getModuleName() , |
27 | | - 'timeFrameEdits', getUserEditCountSince( $now - ($days * 60 *60 *24) )); |
| 27 | + 'timeFrameEdits', getUserEditCountSince( $now - ($days * 60 *60 *24) ), $user ); |
28 | 28 | } |
29 | 29 | |
30 | 30 | public function getAllowedParams() { |