diff options
author | Ruben Calvo <rubencm@gmail.com> | 2018-10-21 05:56:29 +0000 |
---|---|---|
committer | Ruben Calvo <rubencm@gmail.com> | 2018-10-21 07:02:26 +0000 |
commit | b148bb5d707d739e92b66205866a764a9aa133b5 (patch) | |
tree | 97772b7ee6a4edef789eb556f3b04e45a58668ac /phpBB/includes/hooks/index.php | |
parent | ae6c3b0d34c662f107fb7cb8d9e26e5bd252a3b3 (diff) | |
download | forums-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/hooks/index.php')
-rw-r--r-- | phpBB/includes/hooks/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/hooks/index.php b/phpBB/includes/hooks/index.php index 805e0eea1a..821242cbf4 100644 --- a/phpBB/includes/hooks/index.php +++ b/phpBB/includes/hooks/index.php @@ -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) { |