As drupal_rmdir() method is deprecated and will be removed before D9, So replace it with \Drupal\Core\File\FileSystem::rmdir().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bapi_22 created an issue. See original summary.

bapi_22’s picture

Assigned: bapi_22 » Unassigned
Status: Needs work » Needs review
FileSize
757 bytes
renatog’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
FileSize
33.01 KB

Hi guys.

I applied the patch and really make sense.

In doc comment for function says:

@deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0.
* Use \Drupal\Core\File\FileSystem::rmdir().

Thank you very much for your contribution @bapi_22. Good catch.

Good Work and Good Weekend.

Regards.

  • RenatoG committed 7cd7e31 on 8.x-1.x authored by bapi_22
    Issue #2908518 by bapi_22, RenatoG: Removed deprecated method...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

Committed to the dev branch.

Thank you very much.

Status: Fixed » Closed (fixed)

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