mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
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:
parent
ad06248889
commit
3ce43ce3ce
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class Notify extends Base {
|
|||
}
|
||||
|
||||
private function markParentAsOutdated($mountId, $path) {
|
||||
$parent = dirname($path);
|
||||
$parent = ltrim(dirname($path), '/');
|
||||
if ($parent === '.') {
|
||||
$parent = '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue