How to clean up Xenforo 1 after upgrading to Xenforo 2

How to clean up Xenforo 1 after upgrading to Xenforo 2

  • Criador do tópico Criador do tópico axtona
  • Data de início Data de início
Lv.12
Moderating
Bronze Member
Iron Member
Donor Member
Associado
28/06/2020
Mensagens
4.402
Pontuação de reações
1.402
Credits
$11.816
thanks to dear member @jessy submitted a new resource:

How to clean up Xenforo 1 after upgrading to Xenforo 2 - today I'll show you how to clean up Xenforo 1 after upgrading to Xenforo 2.

Hello everyone, today I'll show you how to clean up Xenforo 1 after upgrading to Xenforo 2.
Visualizar anexo 79623
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 delete.php alongside index.php and paste the following code into it:
PHP:
<?php
// Directory path containing the files to delete
$baseDir = __DIR__;
// Function...

Read more about this resource...
 
Top