Merge pull request #15684 from nextcloud/objectstore-expose-urn
make ObjectStoreStorage::getURN public
This commit is contained in:
commit
3d306bfef3
|
@ -223,7 +223,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
|
|||
* @param int $fileId the fileid
|
||||
* @return null|string the unified resource name used to identify the object
|
||||
*/
|
||||
protected function getURN($fileId) {
|
||||
public function getURN($fileId) {
|
||||
if (is_numeric($fileId)) {
|
||||
return $this->objectPrefix . $fileId;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue