aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/auth.php
diff options
context:
space:
mode:
authorRuben Calvo <rubencm@gmail.com>2018-10-21 05:56:29 +0000
committerRuben Calvo <rubencm@gmail.com>2018-10-21 07:02:26 +0000
commitb148bb5d707d739e92b66205866a764a9aa133b5 (patch)
tree97772b7ee6a4edef789eb556f3b04e45a58668ac /phpBB/includes/acp/auth.php
parentae6c3b0d34c662f107fb7cb8d9e26e5bd252a3b3 (diff)
downloadforums-b148bb5d707d739e92b66205866a764a9aa133b5.tar
forums-b148bb5d707d739e92b66205866a764a9aa133b5.tar.gz
forums-b148bb5d707d739e92b66205866a764a9aa133b5.tar.bz2
forums-b148bb5d707d739e92b66205866a764a9aa133b5.tar.xz
forums-b148bb5d707d739e92b66205866a764a9aa133b5.zip
[ticket/15849] Stop using php4 constructors
PHPBB3-15849
Diffstat (limited to 'phpBB/includes/acp/auth.php')
-rw-r--r--phpBB/includes/acp/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index 58da3b922f..b414a3121a 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -27,7 +27,7 @@ class auth_admin extends \phpbb\auth\auth
/**
* Init auth settings
*/
- function auth_admin()
+ function __construct()
{
global $db, $cache;
@@ -819,7 +819,7 @@ class auth_admin extends \phpbb\auth\auth
// Because we just changed the options and also purged the options cache, we instantly update/regenerate it for later calls to succeed.
$this->acl_options = array();
- $this->auth_admin();
+ $this->__construct();
return true;
}