Revert "Prevent rewriting filenames for processed files"
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 26 May 2021 13:05:20 +0000 (15:05 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 26 May 2021 13:17:27 +0000 (15:17 +0200)
commitdd7c98858d406f8ca9824770ae8a68edde451493
treea1f02343a9b7832e90afb8db0eec2467eafd2b4f
parent48d81a0750e722e20618313192597457dccab320
Revert "Prevent rewriting filenames for processed files"

This change is bogus, because it completely changes StyleAction's API and it
introduces bugs (namely not updating the database). One of these was fixed in
88b962c25b4c2dd0c312c6f7e4c11f15a1263cf4, but other fields are also affected.

As this commit doesn't fix an actual bug, but only a small inelegance (namely
the logo's path changing whenever the style is changed, even if the logo is
unchanged) this can be safely reverted until a proper fix is developed.

This reverts commit cc17f302902fb62c78b4411dadc3243913f18c74.
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php
wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php
wcfsetup/install/files/lib/data/style/StyleAction.class.php