]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/lib/magicenvelope.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / OStatus / lib / magicenvelope.php
index 27ff0de5bf1afc92994ba6620b0d9ea5d34d773a..589a5764e06197d64fd1f0546ed5571523af09db 100644 (file)
@@ -340,19 +340,19 @@ class MagicEnvelope
     public function verify(Profile $profile)
     {
         if ($this->alg != 'RSA-SHA256') {
-            common_log(LOG_DEBUG, 'Salmon error: bad algorithm: '._ve($this->alg));
+            common_debug('Salmon error: bad algorithm: ' . _ve($this->alg));
             return false;
         }
 
         if ($this->encoding != self::ENCODING) {
-            common_log(LOG_DEBUG, 'Salmon error: bad encoding: '._ve($this->encoding));
+            common_debug('Salmon error: bad encoding: ' . _ve($this->encoding));
             return false;
         }
 
         try {
             $magicsig = $this->getKeyPair($profile, true);    // Do discovery too if necessary
         } catch (Exception $e) {
-            common_log(LOG_DEBUG, "Salmon error: getKeyPair for profile id=={$profile->getID()}: "._ve($e->getMessage()));
+            common_debug("Salmon error: getKeyPair for profile id=={$profile->getID()}: " . _ve($e->getMessage()));
             return false;
         }