Просмотр исходного кода

Merge pull request #16195 from nextcloud/bugfix/7556/smb-symlink-share-mtime

Ignore forbidden exception when fetching share mtime on SMB for symlinks
tags/v17.0.0beta1
Roeland Jago Douma 4 лет назад
Родитель
Сommit
e94bbfc582
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 2 добавлений и 0 удалений
  1. 2
    0
      apps/files_external/lib/Lib/Storage/SMB.php

+ 2
- 0
apps/files_external/lib/Lib/Storage/SMB.php Просмотреть файл

} }
} catch (NotFoundException $e) { } catch (NotFoundException $e) {
// Ignore this, can happen on unavailable DFS shares // Ignore this, can happen on unavailable DFS shares
} catch (ForbiddenException $e) {
// Ignore this too - it's a symlink
} }
} }
return $highestMTime; return $highestMTime;

Загрузка…
Отмена
Сохранить