From: Alexander Ebert Date: Fri, 7 Jun 2024 16:30:10 +0000 (+0200) Subject: Mark the legacy file system methods as deprecated X-Git-Tag: 6.1.0_Alpha_1~85^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82fe21f5d551e27749ab3149283f9118750ed7a5;p=GitHub%2FWoltLab%2FWCF.git Mark the legacy file system methods as deprecated --- diff --git a/wcfsetup/install/files/lib/data/attachment/Attachment.class.php b/wcfsetup/install/files/lib/data/attachment/Attachment.class.php index 647f085a11..c66968aa2d 100644 --- a/wcfsetup/install/files/lib/data/attachment/Attachment.class.php +++ b/wcfsetup/install/files/lib/data/attachment/Attachment.class.php @@ -157,6 +157,7 @@ class Attachment extends DatabaseObject implements ILinkableObject, IRouteContro /** * @inheritDoc + * @deprecated 6.1 This will no longer be required once the attachments have been migrated. */ public function getLocation() { @@ -171,6 +172,7 @@ class Attachment extends DatabaseObject implements ILinkableObject, IRouteContro * Returns the physical location of the tiny thumbnail. * * @return string + * @deprecated 6.1 This will no longer be required once the attachments have been migrated. */ public function getTinyThumbnailLocation() { @@ -179,6 +181,7 @@ class Attachment extends DatabaseObject implements ILinkableObject, IRouteContro /** * @inheritDoc + * @deprecated 6.1 This will no longer be required once the attachments have been migrated. */ public function getThumbnailLocation($size = '') { @@ -204,6 +207,7 @@ class Attachment extends DatabaseObject implements ILinkableObject, IRouteContro * include the `.bin` suffix. * * @since 5.2 + * @deprecated 6.1 This will no longer be required once the attachments have been migrated. */ public function migrateStorage() { @@ -227,6 +231,7 @@ class Attachment extends DatabaseObject implements ILinkableObject, IRouteContro * @param string $location * @return string * @since 5.2 + * @deprecated 6.1 This will no longer be required once the attachments have been migrated. */ final protected function getLocationHelper($location) { @@ -447,6 +452,8 @@ class Attachment extends DatabaseObject implements ILinkableObject, IRouteContro /** * Returns the storage path. + * + * @deprecated 6.1 This method is no longer in use. */ public static function getStorage(): string {