diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 0ed184c80250a8145f49955528b1f6508a481241..d60f32b15be050ebab581872df0b15b2a163026d 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -156,7 +156,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ return $return; } - public function hash($type,$path,$raw){ + public function hash($path,$type,$raw=false){ return hash_file($type,$this->datadir.$path,$raw); }