Move all of the style deletion logic into StyleEditor
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 20 Oct 2021 08:50:31 +0000 (10:50 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 20 Oct 2021 09:08:26 +0000 (11:08 +0200)
commit00ee506ece7afb2949c0a2576ee15fb85e65724a
tree60bfbe3bf85cc734fc1eba9ba89c66efb8bec7d4
parenta79ec8b6835017f04fbd998101f87252d3f2cd23
Move all of the style deletion logic into StyleEditor

This ensures that all the files on the filesystem are deleted no matter how the
style is deleted. Previously the style's image folder remained when
StyleEditor::delete() was used, for example within the style PIP.
wcfsetup/install/files/lib/data/style/StyleAction.class.php
wcfsetup/install/files/lib/data/style/StyleEditor.class.php