diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-27 12:20:37 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-27 12:20:37 +0100 |
commit | d8d4420f227588acedb50918a1b794a2c68a7ade (patch) | |
tree | 6ea8ee6c75353b2308c229530749cc2641925462 /lib/filestorage | |
parent | cef230c141897f587dd732860cca6568fd6edc2c (diff) | |
download | nextcloud-server-d8d4420f227588acedb50918a1b794a2c68a7ade.tar.gz nextcloud-server-d8d4420f227588acedb50918a1b794a2c68a7ade.zip |
some cleanup in filestorage
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 4 |
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)){ |