Skip to content

Commit

Permalink
Mark the legacy file system methods as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Jun 8, 2024
1 parent 34bc25c commit 82fe21f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public function setPermissions(array $permissions)

/**
* @inheritDoc
* @deprecated 6.1 This will no longer be required once the attachments have been migrated.
*/
public function getLocation()
{
Expand All @@ -171,6 +172,7 @@ public function getLocation()
* 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()
{
Expand All @@ -179,6 +181,7 @@ public function getTinyThumbnailLocation()

/**
* @inheritDoc
* @deprecated 6.1 This will no longer be required once the attachments have been migrated.
*/
public function getThumbnailLocation($size = '')
{
Expand All @@ -204,6 +207,7 @@ public function getThumbnailLocation($size = '')
* 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()
{
Expand All @@ -227,6 +231,7 @@ public function migrateStorage()
* @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)
{
Expand Down Expand Up @@ -447,6 +452,8 @@ public static function findByFileID(int $fileID): ?Attachment

/**
* Returns the storage path.
*
* @deprecated 6.1 This method is no longer in use.
*/
public static function getStorage(): string
{
Expand Down

0 comments on commit 82fe21f

Please sign in to comment.