summaryrefslogtreecommitdiffstats
path: root/lib/filestorage
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-25 16:54:46 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-25 16:55:01 -0400
commitf25ccaff59c135d7f1f22196bf266916ef131b35 (patch)
treed11baa501500bbb3bc25ab9b2beecfc9a03de47e /lib/filestorage
parent37bccf54f27288b99468467457a4740f32745366 (diff)
downloadnextcloud-server-f25ccaff59c135d7f1f22196bf266916ef131b35.tar.gz
nextcloud-server-f25ccaff59c135d7f1f22196bf266916ef131b35.zip
Fix filesystem hash, no longer using basicOperation()
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/common.php b/lib/filestorage/common.php
index fd389d3e2d7..c77df38e6b1 100644
--- a/lib/filestorage/common.php
+++ b/lib/filestorage/common.php
@@ -195,7 +195,7 @@ abstract class OC_Filestorage_Common extends OC_Filestorage {
unlink($tmpFile);
return $mime;
}
- public function hash($type,$path,$raw){
+ public function hash($type,$path,$raw = false){
$tmpFile=$this->getLocalFile();
$hash=hash($type,$tmpFile,$raw);
unlink($tmpFile);