Don't show poll frequency on auto adjust

This commit is contained in:
Michael 2020-08-17 17:40:31 +00:00
parent 312ac73ae3
commit 2cae485e0d

View File

@ -558,7 +558,7 @@ class Contact extends BaseModule
}
$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);
}