Hello everyone, today I'll show you how to clean up Xenforo 1 after upgrading to Xenforo 2.
To clean up, there's an addon called XF1 Cleanup Command, but many users may not have CLI permissions, and I find it slower.
A quicker method is to use the code I've written below. Create a file named...