diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-03 18:01:05 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-03 18:25:49 +0200 |
commit | aec6eea235526644be4e0642dd59a3b5f8e9c0e3 (patch) | |
tree | 82ca399c610bed73d6c87d77aa505021a19f5098 /lib/filesystemview.php | |
parent | 4bc9e4e012fa0ee4300ec26d020d2b27b032ff6a (diff) | |
download | nextcloud-server-aec6eea235526644be4e0642dd59a3b5f8e9c0e3.tar.gz nextcloud-server-aec6eea235526644be4e0642dd59a3b5f8e9c0e3.zip |
use filesystem abstraction layer to copy file versions
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php index d474b61b98c..448663bb081 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -314,7 +314,7 @@ class OC_FilesystemView { }else{ $source=$this->fopen($path1,'r'); $target=$this->fopen($path2,'w'); - $count=OC_Helper::streamCopy($source,$target); + $result=OC_Helper::streamCopy($source,$target); } OC_Hook::emit( OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_copy, array( OC_Filesystem::signal_param_oldpath => $path1 , OC_Filesystem::signal_param_newpath=>$path2)); if(!$exists){ |