]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
removing some extraneous debug logging
authorJames Walker <walkah@walkah.net>
Fri, 26 Feb 2010 21:25:47 +0000 (16:25 -0500)
committerJames Walker <walkah@walkah.net>
Fri, 26 Feb 2010 21:26:04 +0000 (16:26 -0500)
plugins/OStatus/lib/salmon.php

index 68883a410fe6c638573e894234af54f16f08cffe..3d3341bc63fafeef24cc011f6e7296c8b09a5947 100644 (file)
@@ -57,8 +57,6 @@ class Salmon
 
         $headers = array('Content-Type: application/magic-envelope+xml');
 
-        common_log(LOG_DEBUG, "Salmon: going to post " . $xml);
-        
         try {
             $client = new HTTPClient();
             $client->setBody($xml);
@@ -95,7 +93,6 @@ class Salmon
         try {
             $env = $magic_env->signMessage($text, 'application/atom+xml', $magickey->toString());
         } catch (Exception $e) {
-            common_log(LOG_ERR, "Salmon signing failed: ". $e->getMessage());
             return $text;
         }
         return $magic_env->toXML($env);
@@ -104,7 +101,6 @@ class Salmon
 
     public function verifyMagicEnv($text)
     {
-        common_log(LOG_DEBUG, "Going to verify ". $text);
         $magic_env = new MagicEnvelope();
         
         $env = $magic_env->parse($text);