Problem/Motivation

#1399846: Make unused file 'cleanup' configurable removed the use of Drupal\file\FileStorage::retrieveTemporaryFiles().

Proposed resolution

So we can remove the method from the class and interface. Also we need to remove Drupal\file\Tests\RetrieveTemporaryFilesTest.

Remaining tasks

 

 

Contributor tasks needed
Task Novice task? Contributor instructions Complete?
Create a patch Y Instructions
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards Y Instructions Y

User interface changes

No

API changes

Removal of Drupal\file\FileStorage::retrieveTemporaryFiles()

CommentFileSizeAuthor
#3 file-remove-temp-2278025-3-D8.patch3.96 KBduellj
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott’s picture

Issue summary: View changes
alexpott’s picture

Issue summary: View changes
duellj’s picture

Assigned: Unassigned » duellj
Status: Active » Needs review
FileSize
3.96 KB

Attached patch removes retrieveTemporaryFiles() from FileStorage class and interface and removes corresponding test class.

biggm’s picture

Reviewing now.

biggm’s picture

Issue summary: View changes
biggm’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed cafa95e and pushed to 8.x. Thanks!

  • Commit cafa95e on 8.x by alexpott:
    Issue #2278025 by duellj | alexpott: Fixed Remove retrieveTemporaryFiles...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.