public function purgeSubscriptions()
	{
		$objNotify = CommentsNotifyModel::findExpiredSubscriptions();

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

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

		// Add a log entry
		$this->log('Purged the unactivated comment subscriptions', __METHOD__, TL_CRON);
	}
public function purgeSubscriptions()
	{
		$objNotify = CommentsNotifyModel::findExpiredSubscriptions();

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

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

		
		$this->log('Purged the unactivated comment subscriptions', __METHOD__, TL_CRON);
	}
public function purgeSubscriptions ( ) { $ objNotify = CommentsNotifyModel :: findExpiredSubscriptions ( ) ; if ( $ objNotify === null ) { return ; } while ( $ objNotify -> next ( ) ) { $ objNotify -> delete ( ) ; } // Add a log entry $ this -> log ( 'Purged the unactivated comment subscriptions' , __METHOD__ , TL_CRON ) ; }
Purge subscriptions that have not been activated within 24 hours
Purge subscriptions that have not been activated within 24 hours