Merge pull request #15684 from nextcloud/objectstore-expose-urn

make ObjectStoreStorage::getURN public
This commit is contained in:
Morris Jobke 2019-05-22 22:49:40 +02:00 committed by GitHub
commit 3d306bfef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}