mirror of
https://github.com/friendica/friendica
synced 2025-05-03 03:04:23 +02:00
Issue 10640: Use consistent settings to enable protocol support
This commit is contained in:
parent
0448070069
commit
e3c7cd25e1
9 changed files with 18 additions and 26 deletions
|
@ -394,7 +394,7 @@ class Delivery
|
|||
|
||||
Logger::notice('Deliver via Diaspora', ['target' => $target_item['id'], 'guid' => $target_item['guid'], 'to' => $loc]);
|
||||
|
||||
if (DI::config()->get('system', 'dfrn_only') || !DI::config()->get('system', 'diaspora_enabled')) {
|
||||
if (!DI::config()->get('system', 'diaspora_enabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -477,7 +477,7 @@ class Delivery
|
|||
*/
|
||||
private static function deliverMail($cmd, $contact, $owner, $target_item, $thr_parent)
|
||||
{
|
||||
if (DI::config()->get('system','dfrn_only')) {
|
||||
if (DI::config()->get('system','imap_disabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue