1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15849] Stop using php4 constructors

PHPBB3-15849
This commit is contained in:
Ruben Calvo
2018-10-21 05:56:29 +00:00
parent ae6c3b0d34
commit b148bb5d70
25 changed files with 64 additions and 64 deletions

View File

@@ -37,7 +37,7 @@ class messenger
/**
* Constructor
*/
function messenger($use_queue = true)
function __construct($use_queue = true)
{
global $config;
@@ -781,7 +781,7 @@ class queue
/**
* constructor
*/
function queue()
function __construct()
{
global $phpEx, $phpbb_root_path, $phpbb_filesystem, $phpbb_container;
@@ -1317,7 +1317,7 @@ class smtp_class
var $backtrace = false;
var $backtrace_log = array();
function smtp_class()
function __construct()
{
// Always create a backtrace for admins to identify SMTP problems
$this->backtrace = true;