Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-27 15:20:37 +0400
committerRobin Appelman <icewind@owncloud.com>2012-02-27 15:20:37 +0400
commitd8d4420f227588acedb50918a1b794a2c68a7ade (patch)
tree6ea8ee6c75353b2308c229530749cc2641925462 /lib/filestorage
parentcef230c141897f587dd732860cca6568fd6edc2c (diff)
some cleanup in filestorage
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 7d889fbce58..8acfe504cb2 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -96,9 +96,7 @@ class OC_Filestorage_Local extends OC_Filestorage{
$source=substr($path1,strrpos($path1,'/')+1);
$path2.=$source;
}
- if($return=copy($this->datadir.$path1,$this->datadir.$path2)){
- }
- return $return;
+ return copy($this->datadir.$path1,$this->datadir.$path2);
}
public function fopen($path,$mode){
if($return=fopen($this->datadir.$path,$mode)){