diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-12 18:38:03 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-12 18:38:03 -0400 |
commit | 2c4fef91daad558971f4a1726fe4e27a07bc536a (patch) | |
tree | bc4f71d5b4b37ee96fecf65876dea2dbc94fc4f6 /lib/filesystem.php | |
parent | b2b7d99302ebbcf7db5288476ef982f9871e3864 (diff) | |
parent | f8eced1960ae9a17cebcb4432ff737a83327c1be (diff) | |
download | nextcloud-server-2c4fef91daad558971f4a1726fe4e27a07bc536a.tar.gz nextcloud-server-2c4fef91daad558971f4a1726fe4e27a07bc536a.zip |
Merge branch 'master' into sharing
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 1f96e139ab3..56007527ad3 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -416,9 +416,9 @@ class OC_FILESYSTEM{ } OC_HOOK::emit( 'OC_FILESYSTEM', 'post_copy', array( 'oldpath' => $path1 ,'newpath'=>$path2)); if(!$exists){ - OC_HOOK::emit( 'OC_FILESYSTEM', 'post_create', array( 'path' => $path)); + OC_HOOK::emit( 'OC_FILESYSTEM', 'post_create', array( 'path' => $path2)); } - OC_HOOK::emit( 'OC_FILESYSTEM', 'post_write', array( 'path' => $path)); + OC_HOOK::emit( 'OC_FILESYSTEM', 'post_write', array( 'path' => $path2)); return $result; } } |