Fix a bug with smb notify having leading slash when it should not

Signed-off-by: Ari Selseng <ari@selseng.net>
This commit is contained in:
Ari Selseng 2019-03-01 13:55:52 +01:00
parent d0d1c85def
commit f156079a8b
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ class Notify extends Base {
}
private function markParentAsOutdated($mountId, $path) {
$parent = dirname($path);
$parent = ltrim(dirname($path), '/');
if ($parent === '.') {
$parent = '';
}