Fix EZP-22915: Clearing caches fail if cache folder is symlinked
Merge pull request #981 from ezsystems/fix_EZP-22915_recusirveDeleteSymlink

Fix EZP-22915: Clearing caches fail if cache folder is symlinked