Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas Basler
ISPConfig 3
Commits
1deb325d
Commit
1deb325d
authored
Mar 11, 2021
by
Marius Burkard
Browse files
- fixed update of entries
parent
0362bafa
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/rspamd_plugin.inc.php
View file @
1deb325d
...
...
@@ -347,10 +347,10 @@ class rspamd_plugin {
if
(
$is_domain
===
true
)
{
foreach
(
$entries_to_update
[
'mail_user'
]
as
$entry
)
{
$this
->
user_settings_update
(
'mail_user_'
.
$mode
,
$entry
,
true
);
$this
->
user_settings_update
(
'mail_user_'
.
$mode
,
[
'old'
=>
$entry
,
'new'
=>
$entry
]
,
true
);
}
foreach
(
$entries_to_update
[
'mail_forwarding'
]
as
$entry
)
{
$this
->
user_settings_update
(
'mail_forwarding_'
.
$mode
,
$entry
,
true
);
$this
->
user_settings_update
(
'mail_forwarding_'
.
$mode
,
[
'old'
=>
$entry
,
'new'
=>
$entry
]
,
true
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment