mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:04:23 +02: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
|
@ -335,7 +335,7 @@ function delivery_run(&$argv, &$argc){
|
|||
$x[0]['writable'] = 1;
|
||||
}
|
||||
|
||||
$ssl_policy = get_config('system','ssl_policy');
|
||||
$ssl_policy = Config::get('system','ssl_policy');
|
||||
fix_contact_ssl_policy($x[0],$ssl_policy);
|
||||
|
||||
// If we are setup as a soapbox we aren't accepting top level posts from this person
|
||||
|
@ -375,7 +375,7 @@ function delivery_run(&$argv, &$argc){
|
|||
if ($owner['prvnets']) {
|
||||
break;
|
||||
}
|
||||
if (get_config('system','ostatus_disabled') || get_config('system','dfrn_only')) {
|
||||
if (Config::get('system','ostatus_disabled') || Config::get('system','dfrn_only')) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -386,7 +386,7 @@ function delivery_run(&$argv, &$argc){
|
|||
case NETWORK_MAIL:
|
||||
case NETWORK_MAIL2:
|
||||
|
||||
if (get_config('system','dfrn_only')) {
|
||||
if (Config::get('system','dfrn_only')) {
|
||||
break;
|
||||
}
|
||||
// WARNING: does not currently convert to RFC2047 header encodings, etc.
|
||||
|
@ -489,7 +489,7 @@ function delivery_run(&$argv, &$argc){
|
|||
|
||||
logger('delivery: diaspora batch deliver: '.$loc);
|
||||
|
||||
if (get_config('system','dfrn_only') || (!get_config('system','diaspora_enabled')))
|
||||
if (Config::get('system','dfrn_only') || (!Config::get('system','diaspora_enabled')))
|
||||
break;
|
||||
|
||||
if ($mail) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue