*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
/**
* The login method we shall choose
*/
- private $authMethod = "";
+ private $authMethod = '';
/**
* Protected constructor
/**
* Creates an instance of this filter class
*
- * @param $controllerInstance An instance of a Controller class
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserAuthFilter (Controller $controllerInstance) {
+ public final static function createUserAuthFilter () {
// Get a new instance
$filterInstance = new UserAuthFilter();
- // Set the controller
- $filterInstance->setControllerInstance($controllerInstance);
-
// Set default auth method
$filterInstance->setDefaultAuthMethod();