From e5ea72e35130c6ad640cb54bee6b017dc986fc30 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 19 Feb 2012 22:29:51 +0000 Subject: [PATCH] Call directly numRows() on the result object instead of DatabaseBase::numRows() --- includes/specials/SpecialWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 092fee24fa..9eb6bdf25b 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -286,7 +286,7 @@ class SpecialWatchlist extends SpecialPage { wfRunHooks('SpecialWatchlistQuery', array(&$conds,&$tables,&$join_conds,&$fields) ); $res = $dbr->select( $tables, $fields, $conds, __METHOD__, $options, $join_conds ); - $numRows = $dbr->numRows( $res ); + $numRows = $res->numRows(); /* Start bottom header */ -- 2.20.1