Use deleteRecursive instead of rmdir

Created on 24 May 2023, over 1 year ago

Problem/Motivation

Warning: rmdir(/tmp/mycache/config/): Directory not empty in Drupal\Core\File\FileSystem->rmdir() (line 252 of /d9.5.9/html/core/lib/Drupal/Core/File/FileSystem.php)

Steps to reproduce

Proposed resolution

Use deleteRecursive which will empty the file
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi...

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024