core-bundle/src/Resources/contao/library/Contao/Automator.php
public function purgeRegistrations()
	{
		$objMember = MemberModel::findExpiredRegistrations();

		if ($objMember === null)
		{
			return;
		}

		while ($objMember->next())
		{
			$objMember->delete();
		}

		// Add a log entry
		$this->log('Purged the unactivated member registrations', __METHOD__, TL_CRON);
	}
public function purgeRegistrations()
	{
		$objMember = MemberModel::findExpiredRegistrations();

		if ($objMember === null)
		{
			return;
		}

		while ($objMember->next())
		{
			$objMember->delete();
		}

		// Add a log entry
		$this->log('Purged the unactivated member registrations', __METHOD__, TL_CRON);
	}
Purge registrations that have not been activated within 24 hours