Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
e94bbfc582
No account linked to committer's email address
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2
    0
      apps/files_external/lib/Lib/Storage/SMB.php

+ 2
- 0
apps/files_external/lib/Lib/Storage/SMB.php Dosyayı Görüntüle

@@ -302,6 +302,8 @@ class SMB extends Common implements INotifyStorage {
}
} catch (NotFoundException $e) {
// Ignore this, can happen on unavailable DFS shares
} catch (ForbiddenException $e) {
// Ignore this too - it's a symlink
}
}
return $highestMTime;

Loading…
İptal
Kaydet