XF1 Cleanup Command

XF1 Cleanup Command 1.0.0

No permission to download
XF Compatibility
  1. 2.2.x
  2. 2.3.x
There are a number of files in XF1 which are no longer required or usable by XF2.

This CLI command will move any known legacy XF1 file into a specially created _legacy directory. From there, you can either archive or remove that directory.

This will not necessarily move all add-on files. It will move any files stored under the old library directory, but other files these add-ons create may still remain. You would have to contact the author of any add-on to check if there are other files which are safe to move.

To run the command, type the following while in your XF root:


Bash:
php cmd.php xf:legacy-cleanup

If you're on a server where you do not have access to the shell, please ask your server admin or host to run the command for you. If that is not possible, open the file src/addons/XF1Cleanup/Cli/Command/LegacyCleanup.php and look for the list of $files and the list of $dirs to learn which files/directories can be removed manually.

Please make a backup of your files before attempting to run this command.
Author
axtona
Views
269
Extension type
zip
File size
4.8 KB
First release
Last update
Ratings 0.00 star(s) 0 ratings
More resources from axtona
Using Composer Packages
Using Composer Packages
XenForo v2 uses Composer behind the scenes to include certain packages used by the core software
Eggy SEO Autopilot
Eggy SEO Autopilot
Automated auditing, metadata, structured data, Google Search Console, IndexNow
Cool Timeline Pro - WordPress-Timeline-Plugin
Cool Timeline Pro - WordPress-Timeline-Plugin
ein fortgeschrittener WordPress Timeline-Plugin, der deinen Lebensverlauf zeigt

Similar resources

[XTR] User Info Panel (Like XF1) N
This plugin allows you to use the user banner information area that comes as standard for XF1 in XF2
[TC] Slash Commands For Real Time Chat A
This add-on adds various slash commands to the chat, thereby expanding it's capabilities.
Back
Top