<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package 		Phpfox_Component
 * @version 		$Id: complete.class.php 671 2009-06-12 17:12:28Z Raymond_Benc $
 */
class Subscribe_Component_Controller_Complete extends Phpfox_Component
{
	/**
	 * Controller
	 */
	public function process()
	{
		$this->url()->send('');
	}
	
	/**
	 * Garbage collector. Is executed after this class has completed
	 * its job and the template has also been displayed.
	 */
	public function clean()
	{
		(($sPlugin = Phpfox_Plugin::get('subscribe.component_controller_complete_clean')) ? eval($sPlugin) : false);
	}
}