Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/109589
Change subject: Remove unused globals
......................................................................
Remove unused globals
Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f
---
M includes/specials/SpecialWatchlist.php
1 file changed, 1 insertion(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/89/109589/1
diff --git a/includes/specials/SpecialWatchlist.php
b/includes/specials/SpecialWatchlist.php
index c664e31..584cc70 100644
--- a/includes/specials/SpecialWatchlist.php
+++ b/includes/specials/SpecialWatchlist.php
@@ -33,7 +33,7 @@
* @param $par Parameter passed to the page
*/
function execute( $par ) {
- global $wgRCShowWatchingUsers, $wgEnotifWatchlist,
$wgShowUpdatedMarker;
+ global $wgEnotifWatchlist,$wgShowUpdatedMarker;
$user = $this->getUser();
$output = $this->getOutput();
@@ -413,8 +413,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: newchange
Gerrit-Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits