add getId to shared storage backend

remotes/origin/stable5
Robin Appelman 13 years ago
parent 6fafd5d4e9
commit f360d7c736
  1. 6
      apps/files_sharing/lib/sharedstorage.php

@ -91,7 +91,7 @@ class Shared extends \OC\Files\Storage\Common {
* @param string Shared target file path
* @return Returns CRUDS permissions granted or false if not found
*/
private function getPermissions($target) {
public function getPermissions($target) {
$file = $this->getFile($target);
if (isset($file['permissions'])) {
return $file['permissions'];
@ -449,4 +449,8 @@ class Shared extends \OC\Files\Storage\Common {
//TODO
return false;
}
public function getId(){
return 'shared::' . $this->sharedFolder;
}
}

Loading…
Cancel
Save