diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-25 17:13:48 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-25 17:13:48 -0400 |
commit | add8f093554242e64ce650e9252735b02881bda7 (patch) | |
tree | 057f125f3324e9be14e445a7db1ae7ac53ffc843 | |
parent | 30b58f56771aa54304069d40a62070c06f5308fc (diff) | |
download | nextcloud-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.php | 9 |
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) { |