1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +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

@@ -44,7 +44,7 @@ class phpbb_hook
*
* @param array $valid_hooks array containing the hookable functions/methods
*/
function phpbb_hook($valid_hooks)
function __construct($valid_hooks)
{
foreach ($valid_hooks as $_null => $method)
{