Skip to content

Commit

Permalink
fix backup notification setting
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Oct 18, 2023
1 parent 7066045 commit caeff27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions php/src/Data/ConfigurationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,13 @@ public function SetDailyBackupTime(string $time, bool $enableAutomaticUpdates, b

if ($enableAutomaticUpdates === false) {
$time .= PHP_EOL . 'automaticUpdatesAreNotEnabled';
} else {
$time .= PHP_EOL;
}
if ($successNotification === false) {
$time .= PHP_EOL . 'successNotificationsAreNotEnabled';
} else {
$time .= PHP_EOL;
}
file_put_contents(DataConst::GetDailyBackupTimeFile(), $time);
}
Expand Down

0 comments on commit caeff27

Please sign in to comment.