]> git.mxchange.org Git - friendica.git/blobdiff - include/network.php
Issue 3428: Autocompletion now always show user@domain.tld
[friendica.git] / include / network.php
index 6ead21acf9a8c0b5da2669f2c3d0e60af6569fe7..752920e424bff876df359d87bf6fb4db882378bb 100644 (file)
@@ -491,7 +491,7 @@ function allowed_url($url) {
                return false;
        }
 
-       $str_allowed = get_config('system', 'allowed_sites');
+       $str_allowed = Config::get('system', 'allowed_sites');
        if (! $str_allowed) {
                return true;
        }
@@ -535,7 +535,7 @@ function blocked_url($url) {
                return true;
        }
 
-       $domain_blocklist = get_config('system', 'blocklist', array());
+       $domain_blocklist = Config::get('system', 'blocklist', array());
        if (! $domain_blocklist) {
                return false;
        }