summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-20 15:32:12 +0100
committerRobin Appelman <icewind@owncloud.com>2014-03-20 15:32:12 +0100
commitfffe330bbccee617cac6d84d1f4097133de82e44 (patch)
treefdb546e80e048ed10430b08e324fdb9456a224f4 /lib
parent36c0f08ec0c5327f9b38f1078ee0d6ef8823b8da (diff)
downloadnextcloud-server-fffe330bbccee617cac6d84d1f4097133de82e44.tar.gz
nextcloud-server-fffe330bbccee617cac6d84d1f4097133de82e44.zip
Fix parameter order for Storage\Local::hash
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/storage/local.php2
-rw-r--r--lib/private/files/storage/mappedlocal.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php
index a62230bdba5..071b12ffbd5 100644
--- a/lib/private/files/storage/local.php
+++ b/lib/private/files/storage/local.php
@@ -256,7 +256,7 @@ if (\OC_Util::runningOnWindows()) {
return 0;
}
- public function hash($path, $type, $raw = false) {
+ public function hash($type, $path, $raw = false) {
return hash_file($type, $this->datadir . $path, $raw);
}
diff --git a/lib/private/files/storage/mappedlocal.php b/lib/private/files/storage/mappedlocal.php
index 1bab3489a28..cb5ab6902e6 100644
--- a/lib/private/files/storage/mappedlocal.php
+++ b/lib/private/files/storage/mappedlocal.php
@@ -276,7 +276,7 @@ class MappedLocal extends \OC\Files\Storage\Common{
return 0;
}
- public function hash($path, $type, $raw=false) {
+ public function hash($type, $path, $raw=false) {
return hash_file($type, $this->buildPath($path), $raw);
}