mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-22 19:30:11 +00:00
daily backup - allow to disable succesful backup notifications
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -49,8 +49,13 @@ class ConfigurationController
|
||||
} else {
|
||||
$enableAutomaticUpdates = false;
|
||||
}
|
||||
if (isset($request->getParsedBody()['success_notification'])) {
|
||||
$successNotification = true;
|
||||
} else {
|
||||
$successNotification = false;
|
||||
}
|
||||
$dailyBackupTime = $request->getParsedBody()['daily_backup_time'] ?? '';
|
||||
$this->configurationManager->SetDailyBackupTime($dailyBackupTime, $enableAutomaticUpdates);
|
||||
$this->configurationManager->SetDailyBackupTime($dailyBackupTime, $enableAutomaticUpdates, $successNotification);
|
||||
}
|
||||
|
||||
if (isset($request->getParsedBody()['delete_daily_backup_time'])) {
|
||||
|
||||
Reference in New Issue
Block a user