mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix backup notification setting
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
706604539f
commit
caeff27bf5
1 changed files with 4 additions and 0 deletions
|
|
@ -687,9 +687,13 @@ class ConfigurationManager
|
||||||
|
|
||||||
if ($enableAutomaticUpdates === false) {
|
if ($enableAutomaticUpdates === false) {
|
||||||
$time .= PHP_EOL . 'automaticUpdatesAreNotEnabled';
|
$time .= PHP_EOL . 'automaticUpdatesAreNotEnabled';
|
||||||
|
} else {
|
||||||
|
$time .= PHP_EOL;
|
||||||
}
|
}
|
||||||
if ($successNotification === false) {
|
if ($successNotification === false) {
|
||||||
$time .= PHP_EOL . 'successNotificationsAreNotEnabled';
|
$time .= PHP_EOL . 'successNotificationsAreNotEnabled';
|
||||||
|
} else {
|
||||||
|
$time .= PHP_EOL;
|
||||||
}
|
}
|
||||||
file_put_contents(DataConst::GetDailyBackupTimeFile(), $time);
|
file_put_contents(DataConst::GetDailyBackupTimeFile(), $time);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue