diff options
| author | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-28 13:43:41 -0400 | 
|---|---|---|
| committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-28 14:42:26 -0400 | 
| commit | 27f0b9ff4359a60f98533aff2a87c1848d622d4c (patch) | |
| tree | 164636953eaba384f3bd88eb813a6388186ea0ec | |
| parent | 24e323d59353810293dea41d6b9b4114dd627543 (diff) | |
| download | forums-27f0b9ff4359a60f98533aff2a87c1848d622d4c.tar forums-27f0b9ff4359a60f98533aff2a87c1848d622d4c.tar.gz forums-27f0b9ff4359a60f98533aff2a87c1848d622d4c.tar.bz2 forums-27f0b9ff4359a60f98533aff2a87c1848d622d4c.tar.xz forums-27f0b9ff4359a60f98533aff2a87c1848d622d4c.zip | |
[feature/auth-refactor] Forgot @inheritdoc on methods
PHPBB3-9734
| -rw-r--r-- | phpBB/includes/auth/provider_apache.php | 18 | ||||
| -rw-r--r-- | phpBB/includes/auth/provider_db.php | 18 | ||||
| -rw-r--r-- | phpBB/includes/auth/provider_ldap.php | 18 | 
3 files changed, 54 insertions, 0 deletions
| diff --git a/phpBB/includes/auth/provider_apache.php b/phpBB/includes/auth/provider_apache.php index 054316db19..5f6f2862b6 100644 --- a/phpBB/includes/auth/provider_apache.php +++ b/phpBB/includes/auth/provider_apache.php @@ -42,6 +42,9 @@ class phpbb_auth_provider_apache implements phpbb_auth_provider_interface  		$this->php_ext = $php_ext;  	} +	/** +	 * {@inheritdoc} +	 */  	public function init()  	{  		if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_interface::SERVER) || $this->user->data['username'] !== htmlspecialchars_decode($this->request->server('PHP_AUTH_USER'))) @@ -51,6 +54,9 @@ class phpbb_auth_provider_apache implements phpbb_auth_provider_interface  		return false;  	} +	/** +	 * {@inheritdoc} +	 */  	public function login($username, $password)  	{  		// do not allow empty password @@ -138,6 +144,9 @@ class phpbb_auth_provider_apache implements phpbb_auth_provider_interface  		);  	} +	/** +	 * {@inheritdoc} +	 */  	public function autologin()  	{  		if (!$this->request->is_set('PHP_AUTH_USER', phpbb_request_interface::SERVER)) @@ -226,6 +235,9 @@ class phpbb_auth_provider_apache implements phpbb_auth_provider_interface  		);  	} +	/** +	 * {@inheritdoc} +	 */  	public function validate_session($user)  	{  		// Check if PHP_AUTH_USER is set and handle this case @@ -245,11 +257,17 @@ class phpbb_auth_provider_apache implements phpbb_auth_provider_interface  		return false;  	} +	/** +	 * {@inheritdoc} +	 */  	public function acp($new)  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function logout($data, $new_session)  	{  		return; diff --git a/phpBB/includes/auth/provider_db.php b/phpBB/includes/auth/provider_db.php index e8fff26650..a79d031048 100644 --- a/phpBB/includes/auth/provider_db.php +++ b/phpBB/includes/auth/provider_db.php @@ -45,11 +45,17 @@ class phpbb_auth_provider_db implements phpbb_auth_provider_interface  		$this->php_ext = $php_ext;  	} +	/** +	 * {@inheritdoc} +	 */  	public function init()  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function login($username, $password)  	{  		// Auth plugins get the password untrimmed. @@ -297,21 +303,33 @@ class phpbb_auth_provider_db implements phpbb_auth_provider_interface  		);  	} +	/** +	 * {@inheritdoc} +	 */  	public function autologin()  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function acp($new)  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function logout($data, $new_session)  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function validate_session($user)  	{  		return; diff --git a/phpBB/includes/auth/provider_ldap.php b/phpBB/includes/auth/provider_ldap.php index 2140e7dd63..f67c1e9247 100644 --- a/phpBB/includes/auth/provider_ldap.php +++ b/phpBB/includes/auth/provider_ldap.php @@ -38,6 +38,9 @@ class phpbb_auth_provider_ldap implements phpbb_auth_provider_interface  		$this->user = $user;  	} +	/** +	 * {@inheritdoc} +	 */  	public function init()  	{  		if (!@extension_loaded('ldap')) @@ -106,6 +109,9 @@ class phpbb_auth_provider_ldap implements phpbb_auth_provider_interface  		return false;  	} +	/** +	 * {@inheritdoc} +	 */  	public function login($username, $password)  	{  		// do not allow empty password @@ -277,11 +283,17 @@ class phpbb_auth_provider_ldap implements phpbb_auth_provider_interface  		);  	} +	/** +	 * {@inheritdoc} +	 */  	public function autologin()  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function acp($new)  	{  		$tpl = ' @@ -356,11 +368,17 @@ class phpbb_auth_provider_ldap implements phpbb_auth_provider_interface  		return str_replace(array('*', '\\', '(', ')'), array('\\*', '\\\\', '\\(', '\\)'), $string);  	} +	/** +	 * {@inheritdoc} +	 */  	public function logout($data, $new_session)  	{  		return;  	} +	/** +	 * {@inheritdoc} +	 */  	public function validate_session($user)  	{  		return; | 
