Merge pull request #25129 from nextcloud/bugfix/smb-notify-subpath
Fix files_external:notify command when running withing a subdirectory
This commit is contained in:
commit
e6fd9b2f55
|
@ -50,7 +50,7 @@ class SMBNotifyHandler implements INotifyHandler {
|
||||||
*/
|
*/
|
||||||
public function __construct(\Icewind\SMB\INotifyHandler $shareNotifyHandler, $root) {
|
public function __construct(\Icewind\SMB\INotifyHandler $shareNotifyHandler, $root) {
|
||||||
$this->shareNotifyHandler = $shareNotifyHandler;
|
$this->shareNotifyHandler = $shareNotifyHandler;
|
||||||
$this->root = $root;
|
$this->root = str_replace('\\', '/', $root);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function relativePath($fullPath) {
|
private function relativePath($fullPath) {
|
||||||
|
|
Loading…
Reference in New Issue