mirror of
https://github.com/friendica/friendica
synced 2025-04-27 00:30:10 +00:00
Issue-#3873
Replace deprecated functions with new syntax.
This commit is contained in:
parent
9eb1f4b9c3
commit
0dfa57948f
124 changed files with 819 additions and 679 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue