/** * Method to reset the syncer state. * * @return void * * @since 1.3 */ public static function resetState() { // Reset the internal state to null. self::$state = null; // Reset the session state to null. $session = JFactory::getSession(); $session->set('_cmc.state', null); }