core-bundle/src/Resources/contao/library/Contao/Automator.php
public function purgeOptInTokens()
	{
		/** @var OptIn $optIn */
		$optIn = System::getContainer()->get('contao.opt-in');
		$optIn->purgeTokens();

		// Add a log entry
		$this->log('Purged the expired double opt-in tokens', __METHOD__, TL_CRON);
	}
public function purgeOptInTokens()
	{
		/** @var OptIn $optIn */
		$optIn = System::getContainer()->get('contao.opt-in');
		$optIn->purgeTokens();

		// Add a log entry
		$this->log('Purged the expired double opt-in tokens', __METHOD__, TL_CRON);
	}
public function purgeOptInTokens ( ) { /** @var OptIn $optIn */ $ optIn = System :: getContainer ( ) -> get ( 'contao.opt-in' ) ; $ optIn -> purgeTokens ( ) ; // Add a log entry $ this -> log ( 'Purged the expired double opt-in tokens' , __METHOD__ , TL_CRON ) ; }
Purge opt-in tokens
Purge opt - in tokens