XF 2.1 Remove files with add-on?

Mr. Jinx

Well-known member
I have an add-on that installed some extra javascript libraries using build.json (additional_files).
For a newer version of the add-on, those libraries are not needed anymore.

Is it possible to uninstall / remove those files for those who are going to upgrade the add-on?

Chris D

XenForo developer
Staff member
There is noting built in to manage outdated files. You would have to programmatically remove them using Setup.php or the admin would have to delete them manually.