summaryrefslogtreecommitdiffstats
path: root/lib/filestorage/local.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-08 22:36:05 +0100
committerRobin Appelman <icewind1991@gmail.com>2011-11-08 22:36:05 +0100
commit5cc6635eb81a8d76c04ee040a791f51ebbe389ef (patch)
treecfe2caa4dc4d76075f9cad9b883f5d0e471db2ed /lib/filestorage/local.php
parentca6c500799ec13c433ca74b8caa80875084c4943 (diff)
downloadnextcloud-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.php11
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;