Skip to content
Snippets Groups Projects
Unverified Commit 81601f8c authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #14456 from cowai/remove-leading-slash

Fix a bug with smb notify having leading slash when it should not
parents 49b104f3 f156079a
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ class Notify extends Base { ...@@ -155,7 +155,7 @@ class Notify extends Base {
} }
private function markParentAsOutdated($mountId, $path) { private function markParentAsOutdated($mountId, $path) {
$parent = dirname($path); $parent = ltrim(dirname($path), '/');
if ($parent === '.') { if ($parent === '.') {
$parent = ''; $parent = '';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment