aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/hooks/index.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/hooks/index.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/hooks/index.php')
-rw-r--r--phpBB/includes/hooks/index.php2
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)
{