contao/import — Issue #3247: Automator::purgeScriptsFolder broken in smh
Author: importer
Created: 2011-11-29 21:11:05+00:00
State: open
Labels: Defect, framework, Invalid

Automator::purgeScriptsFolder uses unlink to delete scripts which have been created by the files class and therefore can't be deleted via unlink as the permissions(owner) do not match.
Same applies to Automator::purgeHtmlFolder.

I suggest to change unlink to $this->Files->delete (like it is already done in StyleSheets::updateStyleSheet).

--- _Originally created by sceadara on July 7th, 2011, at 03:47pm (ID 3247)_