From 9c53108a3e7b73347a40d725e6b2194b0e29282a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 26 Apr 2017 22:08:47 -0400 Subject: [PATCH] Use Config::get instead of get_config --- include/network.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/network.php b/include/network.php index 6ead21acf9..752920e424 100644 --- a/include/network.php +++ b/include/network.php @@ -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; }