mirror of
https://github.com/nextcloud/server.git
synced 2026-05-26 03:04:35 -04:00
Merge pull request #14462 from nextcloud/backport/14456/stable15
[stable15] Fix a bug with smb notify having leading slash when it should not
This commit is contained in:
commit
1f3dfc4949
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