mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #15684 from nextcloud/objectstore-expose-urn
make ObjectStoreStorage::getURN public
This commit is contained in:
commit
3d306bfef3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue