« Previous | Next » 

Revision c5d5c5e9


Added by Karsten Dambekalns over 10 years ago

[TASK] (Utility) Exception when unlink fails in emptyDirectoryRecursively

There is a check in place, but it uses the shut-up operator and thus
never get's to check the return value - as the PHP warning is converted
to an exception before that happens.

This change adds a try-catch to be able to handle this gracefully.

Related: #13979
Change-Id: Ie8bae6d7ddec8b00914beec1811b2def40839932

  • added
  • modified
  • copied
  • renamed
  • deleted