diff options
author | Ari Selseng <ari@selseng.net> | 2019-03-01 15:55:52 +0300 |
---|---|---|
committer | Ari Selseng <ari@selseng.net> | 2019-03-01 15:55:52 +0300 |
commit | f156079a8bbe7e5449f57ab443a6412c075e3b8e (patch) | |
tree | e1ddf5827d6d813ced242d5addde4184b30ce452 /apps/files_external/lib | |
parent | d0d1c85deffe225911c4e87b631389e056468cc6 (diff) |
Fix a bug with smb notify having leading slash when it should not
Signed-off-by: Ari Selseng <ari@selseng.net>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/Command/Notify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index 04748117e27..b859a825c80 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -155,7 +155,7 @@ class Notify extends Base { } private function markParentAsOutdated($mountId, $path) { - $parent = dirname($path); + $parent = ltrim(dirname($path), '/'); if ($parent === '.') { $parent = ''; } |