summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-07-12 18:38:03 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-07-12 18:38:03 -0400
commit2c4fef91daad558971f4a1726fe4e27a07bc536a (patch)
treebc4f71d5b4b37ee96fecf65876dea2dbc94fc4f6 /lib/filesystem.php
parentb2b7d99302ebbcf7db5288476ef982f9871e3864 (diff)
parentf8eced1960ae9a17cebcb4432ff737a83327c1be (diff)
downloadnextcloud-server-2c4fef91daad558971f4a1726fe4e27a07bc536a.tar.gz
nextcloud-server-2c4fef91daad558971f4a1726fe4e27a07bc536a.zip
Merge branch 'master' into sharing
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php4
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;
}
}