Don't show poll frequency on auto adjust
This commit is contained in:
parent
312ac73ae3
commit
2cae485e0d
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ class Contact extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
$poll_interval = null;
|
$poll_interval = null;
|
||||||
if (in_array($contact['network'], [Protocol::FEED, Protocol::MAIL])) {
|
if ((($contact['network'] == Protocol::FEED) && !DI::config()->get('system', 'adjust_poll_frequency')) || ($contact['network']== Protocol::MAIL)) {
|
||||||
$poll_interval = ContactSelector::pollInterval($contact['priority'], !$poll_enabled);
|
$poll_interval = ContactSelector::pollInterval($contact['priority'], !$poll_enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue