https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112737
Revision: 112737
Author: reedy
Date: 2012-02-29 23:25:00 +0000 (Wed, 29 Feb 2012)
Log Message:
-----------
Remove extra unused parameters to save warnings
4 Warning: Missing argument 3 for
ApiViewRatingsArticleFeedbackv5::fetchRollup(), called in
/usr/local/apache/common-local/php-1.19/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
on line 38 and defined in
/usr/local/apache/common-local/php-1.19/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
on line 63
4 Warning: Missing argument 2 for
ApiViewRatingsArticleFeedbackv5::fetchRollup(), called in
/usr/local/apache/common-local/php-1.19/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
on line 38 and defined in
/usr/local/apache/common-local/php-1.19/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
on line 63
Modified Paths:
--------------
branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
Modified:
branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
===================================================================
---
branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
2012-02-29 22:45:17 UTC (rev 112736)
+++
branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5/api/ApiViewRatingsArticleFeedbackv5.php
2012-02-29 23:25:00 UTC (rev 112737)
@@ -56,11 +56,9 @@
* Pulls a rollup row
*
* @param $pageId int the page id
- * @param $revisionLimit int go back only to this revision
- * @param $type string the type of row to fetch ('page' or
'revision')
* @return array the rollup rows
*/
- private function fetchRollup( $pageId, $revisionLimit, $type ) {
+ private function fetchRollup( $pageId ) {
$dbr = wfGetDB( DB_SLAVE );
$where = array();
$table = 'article_feedback_ratings_rollup';
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs