1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 15:57:45 +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

@@ -1139,7 +1139,7 @@ class parse_message extends bbcode_firstpass
/**
* Init - give message here or manually
*/
function parse_message($message = '')
function __construct($message = '')
{
// Init BBCode UID
$this->bbcode_uid = substr(base_convert(unique_id(), 16, 36), 0, BBCODE_UID_LEN);