mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-22 01:32:08 +00:00
[Web] Skip update_sogo_static_view if sogo is disabled
This commit is contained in:
parent
72e8180c6b
commit
64ac6a8891
1 changed files with 1 additions and 1 deletions
|
|
@ -5264,7 +5264,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||
}
|
||||
break;
|
||||
}
|
||||
if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'mailbox', 'resource'))) {
|
||||
if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'mailbox', 'resource')) && getenv('SKIP_SOGO') != "y") {
|
||||
update_sogo_static_view();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue