Issue-#3873

Replace deprecated functions with new syntax.
This commit is contained in:
Adam Magness 2017-11-06 21:22:52 -05:00
parent 9eb1f4b9c3
commit 0dfa57948f
124 changed files with 819 additions and 679 deletions

View file

@ -2,6 +2,7 @@
// Based upon "Privacy Image Cache" by Tobias Hößl <https://github.com/CatoTH/>
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
define('PROXY_DEFAULT_TIME', 86400); // 1 Day
@ -258,7 +259,7 @@ function proxy_url($url, $writemode = false, $size = '') {
return $url;
}
if (get_config('system', 'proxy_disabled')) {
if (Config::get('system', 'proxy_disabled')) {
return $url;
}