|
@@ -457,9 +457,11 @@ class SMB extends Common implements INotifyStorage {
|
|
if (is_null($type)) {
|
|
if (is_null($type)) {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
- if ($type === INotifyStorage::NOTIFY_RENAMED && !is_null($oldRenamePath)) {
|
|
|
|
- $result = $callback($type, $path, $oldRenamePath);
|
|
|
|
- $oldRenamePath = null;
|
|
|
|
|
|
+ if ($type === INotifyStorage::NOTIFY_RENAMED) {
|
|
|
|
+ if (!is_null($oldRenamePath)) {
|
|
|
|
+ $result = $callback($type, $oldRenamePath, $path);
|
|
|
|
+ $oldRenamePath = null;
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
$result = $callback($type, $path);
|
|
$result = $callback($type, $path);
|
|
}
|
|
}
|