/** * Overwrite for Automator::purgePageCache * Makes sure the forum layout is regenerated */ public function purgePageCache() { $automator = new Automator(); $automator->purgePageCache(); System::getContainer()->get('phpbb_bridge.connector')->generateForumLayoutFiles(); $this->log('Purged the phpbb forum cache', __METHOD__, TL_CRON); }
/** * Handle the page AJAX action */ protected function handlePageAction() { $automator = new Automator(); $automator->purgePageCache(); header('HTTP/1.1 200 OK'); die('OK'); }
/** * Make the constuctor public */ public function __construct() { parent::__construct(); }