]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Move post_url
[friendica.git] / mod / match.php
index 47b24e9f7e7582b60e63a029bc07d70be442e39c..ad1e00101ea3f3ec465a53e101aa0f3011f61b3e 100644 (file)
@@ -10,6 +10,7 @@ use Friendica\Core\System;
 use Friendica\Database\DBM;
 use Friendica\Model\Contact;
 use Friendica\Model\Profile;
+use Friendica\Util\Network;
 
 require_once 'include/text.php';
 require_once 'mod/proxy.php';
@@ -58,9 +59,9 @@ function match_content(App $a)
                }
 
                if (strlen(Config::get('system', 'directory'))) {
-                       $x = post_url(get_server().'/msearch', $params);
+                       $x = Network::postURL(get_server().'/msearch', $params);
                } else {
-                       $x = post_url(System::baseUrl() . '/msearch', $params);
+                       $x = Network::postURL(System::baseUrl() . '/msearch', $params);
                }
 
                $j = json_decode($x);