aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-06-19 14:20:29 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-06-19 14:25:58 -0400
commit553c300688818c36acc4d579762b3eb428d27321 (patch)
treee6438f4f48d62f2e4595baedcc58f6e3f946fb5c /phpBB/includes
parent7bdab205a13380242ef2469d192abc22b48010d8 (diff)
downloadforums-553c300688818c36acc4d579762b3eb428d27321.tar
forums-553c300688818c36acc4d579762b3eb428d27321.tar.gz
forums-553c300688818c36acc4d579762b3eb428d27321.tar.bz2
forums-553c300688818c36acc4d579762b3eb428d27321.tar.xz
forums-553c300688818c36acc4d579762b3eb428d27321.zip
[feature/auth-refactor] Fix typos causing changes to not work
Replaces short tags with long tags. Fixes the interface to be an interface and not class in the file. Removes unnecessary include_once from auth.php. PHPBB-9734
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/auth/auth.php1
-rw-r--r--phpBB/includes/auth/provider_apache.php2
-rw-r--r--phpBB/includes/auth/provider_db.php2
-rw-r--r--phpBB/includes/auth/provider_interface.php4
-rw-r--r--phpBB/includes/auth/provider_ldap.php2
5 files changed, 5 insertions, 6 deletions
diff --git a/phpBB/includes/auth/auth.php b/phpBB/includes/auth/auth.php
index 009e621e13..ab84619977 100644
--- a/phpBB/includes/auth/auth.php
+++ b/phpBB/includes/auth/auth.php
@@ -930,7 +930,6 @@ class phpbb_auth
global $config, $db, $user, $phpbb_root_path, $phpEx;
$method = trim(basename($config['auth_method']));
- include_once($phpbb_root_path . 'includes/auth/auth_' . $method . '.' . $phpEx);
$class = 'phpbb_auth_provider_' . $method;
if (class_exists($class))
diff --git a/phpBB/includes/auth/provider_apache.php b/phpBB/includes/auth/provider_apache.php
index 01aa9400fd..a923fb4265 100644
--- a/phpBB/includes/auth/provider_apache.php
+++ b/phpBB/includes/auth/provider_apache.php
@@ -1,4 +1,4 @@
-<?
+<?php
/**
*
* @package auth
diff --git a/phpBB/includes/auth/provider_db.php b/phpBB/includes/auth/provider_db.php
index 9e865f4b5b..60ea105236 100644
--- a/phpBB/includes/auth/provider_db.php
+++ b/phpBB/includes/auth/provider_db.php
@@ -1,4 +1,4 @@
-<?
+<?php
/**
*
* @package auth
diff --git a/phpBB/includes/auth/provider_interface.php b/phpBB/includes/auth/provider_interface.php
index 8d966d8b3e..3dd1dba9be 100644
--- a/phpBB/includes/auth/provider_interface.php
+++ b/phpBB/includes/auth/provider_interface.php
@@ -1,4 +1,4 @@
-<?
+<?php
/**
*
* @package auth
@@ -20,7 +20,7 @@ if (!defined('IN_PHPBB'))
*
* @package auth
*/
-class phpbb_auth_provider_interface
+interface phpbb_auth_provider_interface
{
/**
* Checks whether the user is currently identified to the authentication
diff --git a/phpBB/includes/auth/provider_ldap.php b/phpBB/includes/auth/provider_ldap.php
index 3636c7ae6d..4d0e68233b 100644
--- a/phpBB/includes/auth/provider_ldap.php
+++ b/phpBB/includes/auth/provider_ldap.php
@@ -1,4 +1,4 @@
-<?
+<?php
/**
*
* @package auth