Chad has submitted this change and it was merged.

Change subject: Don't lie about what function makes a query
......................................................................


Don't lie about what function makes a query

Change-Id: I60a34eb238500147e3f5bade3d6dc19449ee3f65
---
M RSSStandards/RSSStandards.class.php
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Chad: Verified
  MarkAHershberger: Looks good to me, approved



diff --git a/RSSStandards/RSSStandards.class.php 
b/RSSStandards/RSSStandards.class.php
index 40a1b6c..a2bce74 100644
--- a/RSSStandards/RSSStandards.class.php
+++ b/RSSStandards/RSSStandards.class.php
@@ -342,8 +342,6 @@
                global $wgUser, $wgOut, $wgRequest, $wgRCShowWatchingUsers,
                                $wgEnotifWatchlist, $wgShowUpdatedMarker, 
$wgEnotifWatchlist, $wgSitename;
 
-               $fname = 'wfSpecialWatchlist';
-
                $skin = RequestContext::getMain()->getSkin();
                $specialTitle = $wgSitename . ' - ' . SpecialPage::getTitleFor( 
'Watchlist' );
                $wgOut->setRobotPolicy( 'noindex,nofollow' );
@@ -505,7 +503,7 @@
          ORDER BY rc_timestamp DESC
                        $limitWatchlist";
 
-               $res = $dbr->query( $sql, $fname );
+               $res = $dbr->query( $sql, __METHOD__ );
                $numRows = $dbr->numRows( $res );
 
                # If there's nothing to show, stop here

-- 
To view, visit https://gerrit.wikimedia.org/r/97668
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I60a34eb238500147e3f5bade3d6dc19449ee3f65
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: MarkAHershberger <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to