jenkins-bot has submitted this change and it was merged.
Change subject: Remove unused globals
......................................................................
Remove unused globals
Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f
---
M includes/specials/SpecialWatchlist.php
1 file changed, 1 insertion(+), 3 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/specials/SpecialWatchlist.php
b/includes/specials/SpecialWatchlist.php
index aef50c0..519b6c2 100644
--- a/includes/specials/SpecialWatchlist.php
+++ b/includes/specials/SpecialWatchlist.php
@@ -41,7 +41,7 @@
* @param string $subpage
*/
function execute( $subpage ) {
- global $wgRCShowWatchingUsers, $wgEnotifWatchlist,
$wgShowUpdatedMarker;
+ global $wgEnotifWatchlist, $wgShowUpdatedMarker;
// Anons don't get a watchlist
$this->requireLogin( 'watchlistanontext' );
@@ -388,8 +388,6 @@
* @return string XHTML
*/
public function doHeader( $opts ) {
- global $wgScript;
-
$user = $this->getUser();
$this->setTopText( $opts );
--
To view, visit https://gerrit.wikimedia.org/r/109589
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits