diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-05-29 17:00:34 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-05-29 17:00:34 +0200 |
commit | 85cae2cc3237637d10727e6ae5c2fb51c5912142 (patch) | |
tree | 7a13ad88acbac555b882c7254730c41cf932152d /lib | |
parent | 2617e4b607fd7b7b3272b9975687670c686c4ced (diff) | |
download | nextcloud-server-85cae2cc3237637d10727e6ae5c2fb51c5912142.tar.gz nextcloud-server-85cae2cc3237637d10727e6ae5c2fb51c5912142.zip |
recursive copy is now in OC_HELPER
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/files.php b/lib/files.php index 594b96a9c5e..ac2129d0ac4 100644 --- a/lib/files.php +++ b/lib/files.php @@ -343,22 +343,6 @@ if(!function_exists('sys_get_temp_dir')) { } } -function recursive_copy($src,$dst) { - $dir = opendir($src); - @mkdir($dst); - while(false !== ( $file = readdir($dir)) ) { - if (( $file != '.' ) && ( $file != '..' )) { - if ( is_dir($src . '/' . $file) ) { - recursive_copy($src . '/' . $file,$dst . '/' . $file); - } - else { - copy($src . '/' . $file,$dst . '/' . $file); - } - } - } - closedir($dir); -} - global $FAKEDIRS; $FAKEDIRS=array(); |