From: Alexander Ebert Date: Tue, 17 Dec 2024 14:44:36 +0000 (+0100) Subject: Mark `File::getRelativePath()` as public X-Git-Tag: 6.1.3_dev_1~2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75a60405a2561560816378a976208b71600299a3;p=GitHub%2FWoltLab%2FWCF.git Mark `File::getRelativePath()` as public --- 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);