From 75a60405a2561560816378a976208b71600299a3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 17 Dec 2024 15:44:36 +0100 Subject: [PATCH] Mark `File::getRelativePath()` as public --- wcfsetup/install/files/lib/data/file/File.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/file/File.class.php b/wcfsetup/install/files/lib/data/file/File.class.php index 44e5e38281..ac68d402d1 100644 --- a/wcfsetup/install/files/lib/data/file/File.class.php +++ b/wcfsetup/install/files/lib/data/file/File.class.php @@ -82,7 +82,7 @@ class File extends DatabaseObject implements ILinkableObject ); } - private function getRelativePath(): string + public function getRelativePath(): string { $folderA = \substr($this->fileHash, 0, 2); $folderB = \substr($this->fileHash, 2, 2); -- 2.20.1