Skip to content

Commit

Permalink
fix: Fix backups
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed May 22, 2024
1 parent 734f2ed commit aa4a7a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/BackgroundJobs/BackupJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ public function __construct(
}

protected function run($argument) {
$userIds = $this->config->getUsersForUserValue('bookmarks', 'backup.enabled', (string) true);
$userIds = $this->config->getUsersForUserValue('bookmarks', 'backup.enabled', (string) true); // if users have set this in older versions
$userIds += $this->config->getUsersForUserValue('bookmarks', 'backup.enabled', 'true');
$userIds = array_unique($userIds);
if (empty($userIds)) {
return;
}
Expand Down

0 comments on commit aa4a7a3

Please sign in to comment.