[Legacy] Add Clear Cache to Admin

This commit is contained in:
Jack Anderson 2023-11-13 15:23:11 +00:00
parent 395a6e8938
commit 2f708e7c6e

View file

@ -120,6 +120,7 @@ class RepairAndClear
$this->rebuildExtensions();
$this->rebuildAuditTables();
$this->repairDatabase();
$this->clearCoreCache();
break;
}
}
@ -127,6 +128,11 @@ class RepairAndClear
/////////////OLD
public function clearCoreCache()
{
$coreCachePath = __DIR__ . '/../../../../cache/';
rmdir_recursive($coreCachePath);
}
public function repairDatabase()
{