Skip to content

Commit 4a2fa12

Browse files
committed
Update backup.inc.php guidelines > blocks
unfortunally to late for this to branch, impulsive me promises to do better :)
1 parent 808b1b1 commit 4a2fa12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/lib/classes/backup.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,8 +1198,7 @@ protected static function getAllArchives($backup_dir, $backup_mode, $password, $
11981198
$repos_path = $backup_dir . '/' . $entry;
11991199
if (is_dir($repos_path) && strncmp('borg_', $entry, 5) === 0) {
12001200
$repos_archives = self::getReposArchives($backup_mode, $repos_path, $password, 'json');
1201-
if(is_array($repos_archives))
1202-
{
1201+
if(is_array($repos_archives)) {
12031202
$archivesJson = json_decode(implode("", $repos_archives), TRUE);
12041203
foreach ($archivesJson['archives'] as $archive) {
12051204
if (is_null($prefix_list)) { //fallback if no prefix_list

0 commit comments

Comments
 (0)