Skip to content

Commit f3e8a10

Browse files
committed
fixup! fix: don't emit Hooks when hookpaths are empty
1 parent 498e7fe commit f3e8a10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,8 @@ public function copy($source, $target, $preserveMtime = false) {
926926
Filesystem::signal_param_newpath => $this->getHookPath($target)
927927
]
928928
);
929+
$this->emit_file_hooks_post($exists, $target);
929930
}
930-
$this->emit_file_hooks_post($exists, $target);
931931
}
932932
} catch (\Exception $e) {
933933
$this->unlockFile($target, $lockTypePath2);

0 commit comments

Comments
 (0)