add getId to shared storage backend
This commit is contained in:
parent
6fafd5d4e9
commit
f360d7c736
|
@ -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…
Reference in New Issue