No longer need hash() in shared storage, already implemented by the common file storage

This commit is contained in:
Michael Gapczynski 2012-07-25 17:13:48 -04:00
parent 30b58f5677
commit add8f09355
1 changed files with 1 additions and 8 deletions

View File

@ -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) {