Fix parameter order in OC_Filestorage_Common->hash

remotes/origin/stable5
Bart Visscher 13 years ago
parent cdd9ffc8a5
commit 14af503374
  1. 2
      lib/filestorage/local.php

@ -156,7 +156,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
return $return; return $return;
} }
public function hash($type,$path,$raw){ public function hash($path,$type,$raw=false){
return hash_file($type,$this->datadir.$path,$raw); return hash_file($type,$this->datadir.$path,$raw);
} }

Loading…
Cancel
Save