Amire80 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/108540


Change subject: Remove unnecessary debug logging
......................................................................

Remove unnecessary debug logging

This was useful while developing, but not any more.

Change-Id: Id144cc44b9e517bae56fd30db63d96b522d2cb1e
---
M TranslationNotificationJob.php
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TranslationNotifications 
refs/changes/40/108540/1

diff --git a/TranslationNotificationJob.php b/TranslationNotificationJob.php
index b2d42e7..82352f9 100644
--- a/TranslationNotificationJob.php
+++ b/TranslationNotificationJob.php
@@ -87,8 +87,6 @@
 
                // API: Get login token
 
-               wfDebug( "publishInOtherWiki API: Get login token\n" );
-
                $loginUrl = wfAppendQuery( $otherWikiBaseUrl, array(
                        'action' => 'login',
                        'format' => 'json',
@@ -121,8 +119,6 @@
 
                // API: Do the login
 
-               wfDebug( "publishInOtherWiki API: Do the login\n" );
-
                $loginRequest = MWHttpRequest::factory(
                        $loginUrl,
                        array(
@@ -146,8 +142,6 @@
                }
 
                // API: Get an edit token
-
-               wfDebug( "publishInOtherWiki API: Get an edit token\n" );
 
                $userTalkPage = $this->title->getFullText();
                $editTokenUrl = wfAppendQuery( $otherWikiBaseUrl, array(
@@ -180,8 +174,6 @@
                }
 
                // API: Edit the talk page
-
-               wfDebug( "publishInOtherWiki API: Edit the talk page\n" );
 
                $editUrl = wfAppendQuery( $otherWikiBaseUrl, array(
                        'action' => 'edit',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id144cc44b9e517bae56fd30db63d96b522d2cb1e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TranslationNotifications
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>

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

Reply via email to