aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-25 17:13:48 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-25 17:13:48 -0400
commitadd8f093554242e64ce650e9252735b02881bda7 (patch)
tree057f125f3324e9be14e445a7db1ae7ac53ffc843
parent30b58f56771aa54304069d40a62070c06f5308fc (diff)
downloadnextcloud-server-add8f093554242e64ce650e9252735b02881bda7.tar.gz
nextcloud-server-add8f093554242e64ce650e9252735b02881bda7.zip
No longer need hash() in shared storage, already implemented by the common file storage
-rw-r--r--apps/files_sharing/sharedstorage.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php
index df884834cae..2071942b062 100644
--- a/apps/files_sharing/sharedstorage.php
+++ b/apps/files_sharing/sharedstorage.php
@@ -365,14 +365,7 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common {
}
return false;
}
-
- public function hash($type, $path, $raw = false) {
- if ($source = $this->getSourcePath($path)) {
- $storage = OC_Filesystem::getStorage($source);
- return $storage->hash($type, $this->getInternalPath($source), $raw);
- }
- }
-
+
public function free_space($path) {
$source = $this->getSourcePath($path);
if ($source) {