]> git.mxchange.org Git - friendica.git/blobdiff - include/salmon.php
API: use regex instead of SimpleXMLElement
[friendica.git] / include / salmon.php
index 988c542e2d4136558503ab6ff0165c2324607100..8341b902a7a874b3db3e140d32478bda9b564962 100644 (file)
@@ -1,15 +1,14 @@
 <?php
 
 require_once('include/crypto.php');
-
-
+require_once('include/Probe.php');
 
 function get_salmon_key($uri,$keyhash) {
        $ret = array();
 
        logger('Fetching salmon key for '.$uri);
 
-       $arr = lrdd($uri);
+       $arr = Probe::lrdd($uri);
 
        if(is_array($arr)) {
                foreach($arr as $a) {