]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused variable in Protocol\PortableContact
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 21:22:58 +0000 (16:22 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 21:22:58 +0000 (16:22 -0500)
src/Protocol/PortableContact.php

index e0213ca5c4cf18d587bbbe36cd932325bdb86e31..ccae5520b351f6074411609884194dac1d26628d 100644 (file)
@@ -817,7 +817,7 @@ class PortableContact
                }
 
                /// @fixme $element is unavailable here
-               $server["site_name"] = $xpath->evaluate($element."//head/title/text()")->item(0)->nodeValue;
+               $server["site_name"] = $xpath->evaluate("//head/title/text()")->item(0)->nodeValue;
                return $server;
        }