public function purgeVersionTable() { $objDatabase = \Database::getInstance(); // Truncate the table $objDatabase->execute("TRUNCATE TABLE tl_version"); // Add a log entry $this->log('Purged the version table', __METHOD__, TL_CRON); }