aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/hooks
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-27 22:33:44 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-10-27 22:33:44 +0200
commit7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae (patch)
tree4f46a7efaaffcd36a0655ccc8023211b05c404d2 /phpBB/includes/hooks
parent042f47fc3f2e33bbb9791b0dc66b7ea6ccaa8d94 (diff)
parentb148bb5d707d739e92b66205866a764a9aa133b5 (diff)
downloadforums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar.gz
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar.bz2
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar.xz
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.zip
Merge pull request #5424 from rubencm/ticket/15849
[ticket/15849] Stop using php4 constructors
Diffstat (limited to 'phpBB/includes/hooks')
-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)
{