]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Salmon.php
Merge pull request #8549 from annando/suppress-xml-log
[friendica.git] / src / Protocol / Salmon.php
index 0d234b53f0151340494bfede168276e4382dcbd9..d082909ae5196a8af0ced2507d27f787f09a8ea4 100644 (file)
@@ -111,13 +111,13 @@ class Salmon
        {
                // does contact have a salmon endpoint?
 
-               if (! strlen($url)) {
+               if (!strlen($url)) {
                        return;
                }
 
-               if (! $owner['sprvkey']) {
+               if (!$owner['sprvkey']) {
                        Logger::log(sprintf("user '%s' (%d) does not have a salmon private key. Send failed.",
-                       $owner['username'], $owner['uid']));
+                       $owner['name'], $owner['uid']));
                        return;
                }