diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-03-20 15:32:12 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-03-20 15:32:12 +0100 |
commit | fffe330bbccee617cac6d84d1f4097133de82e44 (patch) | |
tree | fdb546e80e048ed10430b08e324fdb9456a224f4 /lib | |
parent | 36c0f08ec0c5327f9b38f1078ee0d6ef8823b8da (diff) | |
download | nextcloud-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.php | 2 | ||||
-rw-r--r-- | lib/private/files/storage/mappedlocal.php | 2 |
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); } |