diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-11-08 22:36:05 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-11-08 22:36:05 +0100 |
commit | 5cc6635eb81a8d76c04ee040a791f51ebbe389ef (patch) | |
tree | cfe2caa4dc4d76075f9cad9b883f5d0e471db2ed /lib/filestorage/local.php | |
parent | ca6c500799ec13c433ca74b8caa80875084c4943 (diff) | |
download | nextcloud-server-5cc6635eb81a8d76c04ee040a791f51ebbe389ef.tar.gz nextcloud-server-5cc6635eb81a8d76c04ee040a791f51ebbe389ef.zip |
remove OC_Filesystem::fromUploadedFile
Diffstat (limited to 'lib/filestorage/local.php')
-rw-r--r-- | lib/filestorage/local.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 7711116db35..b5d6023c494 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -189,17 +189,6 @@ class OC_Filestorage_Local extends OC_Filestorage{ } } - public function fromUploadedFile($tmpFile,$path){ - $fileStats = stat($tmpFile); - if(move_uploaded_file($tmpFile,$this->datadir.$path)){ - touch($this->datadir.$path, $fileStats['mtime'], $fileStats['atime']); - $this->clearFolderSizeCache($path); - return true; - }else{ - return false; - } - } - private function delTree($dir) { $dirRelative=$dir; $dir=$this->datadir.$dir; |