https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112767

Revision: 112767
Author:   johnduhart
Date:     2012-03-01 03:11:39 +0000 (Thu, 01 Mar 2012)
Log Message:
-----------
Removed unused parameters

Modified Paths:
--------------
    trunk/extensions/ArticleCreationWorkflow/SpecialArticleCreationLanding.php
    trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationUtil.php

Modified: 
trunk/extensions/ArticleCreationWorkflow/SpecialArticleCreationLanding.php
===================================================================
--- trunk/extensions/ArticleCreationWorkflow/SpecialArticleCreationLanding.php  
2012-03-01 03:11:37 UTC (rev 112766)
+++ trunk/extensions/ArticleCreationWorkflow/SpecialArticleCreationLanding.php  
2012-03-01 03:11:39 UTC (rev 112767)
@@ -15,8 +15,6 @@
        }
 
        public function execute( $par ) {
-               global $wgUser, $wgRequest;
-
                $out = $this->getOutput();
                $title = Title::newFromText( $par );
 
@@ -37,7 +35,7 @@
                $out->addModules( 'ext.articleCreation.user' );
                $out->addHtml( ArticleCreationTemplates::getLandingPage($par) );
 
-               ArticleCreationUtil::TrackSpecialLandingPage( $wgRequest, 
$wgUser, $par );
+               ArticleCreationUtil::TrackSpecialLandingPage( $par );
        }
        
 }

Modified: 
trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationUtil.php
===================================================================
--- trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationUtil.php   
2012-03-01 03:11:37 UTC (rev 112766)
+++ trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationUtil.php   
2012-03-01 03:11:39 UTC (rev 112767)
@@ -81,11 +81,10 @@
 
        /**
         * Track the page stats to the special article creation landing page
-        * @param $request Object
-        * @param $user Object
+        *
         * @param $par string - the title for the non-existing article
         */
-       public static function TrackSpecialLandingPage( $request, $user, $par ) 
{
+       public static function TrackSpecialLandingPage( $par ) {
                
                $event = self::trackingBucket() . '-impression';
 


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

Reply via email to