Problem/Motivation

The following notice is logged when clearing Drupal cache if there are no injectors created:

The file public://asset_injector was not deleted because it does not exist.

Proposed resolution

Check if the directory exists before trying to delete it.

CommentFileSizeAuthor
#2 notice-3006735-2.patch531 bytesRumyanaRuseva

Comments

RumyanaRuseva created an issue. See original summary.

RumyanaRuseva’s picture

Status: Active » Needs review
StatusFileSize
new531 bytes

Here is a patch.

pookmish’s picture

Status: Needs review » Fixed

Thanks

Status: Fixed » Closed (fixed)

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