Mark `File::getRelativePath()` as public
authorAlexander Ebert <ebert@woltlab.com>
Tue, 17 Dec 2024 14:44:36 +0000 (15:44 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 17 Dec 2024 14:44:36 +0000 (15:44 +0100)
wcfsetup/install/files/lib/data/file/File.class.php

index 44e5e38281d8f66d6a758c09c1a75a37d92cd62b..ac68d402d1b1478a9b88c56914f524abd017176f 100644 (file)
@@ -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);