code: 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);
  	}
docs: Purge registrations that have not been activated within 24 hours