]> git.mxchange.org Git - friendica.git/blobdiff - include/socgraph.php
Merge pull request #3463 from friendica/develop
[friendica.git] / include / socgraph.php
index 3de114fcabd9003ab252e27a7f62c96fedada763..fbac08cc9736b080bb394ac2b643055a49c072e3 100644 (file)
@@ -890,9 +890,9 @@ function poco_fetch_nodeinfo($server_url) {
 function poco_detect_server_type($body) {
        $server = false;
 
-       $doc = new \DOMDocument();
+       $doc = new DOMDocument();
        @$doc->loadHTML($body);
-       $xpath = new \DomXPath($doc);
+       $xpath = new DomXPath($doc);
 
        $list = $xpath->query("//meta[@name]");