mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[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
This commit is contained in:
parent
7bdab205a1
commit
553c300688
5 changed files with 5 additions and 6 deletions
|
@ -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))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package auth
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package auth
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package auth
|
||||
|
|
Loading…
Add table
Reference in a new issue