]> git.mxchange.org Git - friendica.git/blobdiff - include/follow.php
Fix wrong class name case
[friendica.git] / include / follow.php
index 11138afac8c54609989e51317f6ad0e151db339d..161e669e949bb26480e07521528aa02b9820125d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+use Friendica\App;
+
 require_once("include/Scrape.php");
 require_once("include/socgraph.php");
 require_once('include/group.php');
@@ -82,7 +85,7 @@ function new_contact($uid,$url,$interactive = false) {
                return $result;
        }
 
-       if (! check_domain_blocklist($url)) {
+       if (blocked_url($url)) {
                $result['message'] = t('Blocked domain');
                return $result;
        }