aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/captcha/non_gd.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-08-09 15:30:05 +0200
committerTristan Darricau <github@nicofuma.fr>2014-08-11 01:16:10 +0200
commit99b7d18ab2ee1b5b3ead555347b71fcb2de6e308 (patch)
treea9499abb22a59b23d1e7d1c0dfaeebc842dda281 /phpBB/phpbb/captcha/non_gd.php
parent28cf0ef8323d121a25b1c9ddd55fdd76412752ad (diff)
downloadforums-99b7d18ab2ee1b5b3ead555347b71fcb2de6e308.tar
forums-99b7d18ab2ee1b5b3ead555347b71fcb2de6e308.tar.gz
forums-99b7d18ab2ee1b5b3ead555347b71fcb2de6e308.tar.bz2
forums-99b7d18ab2ee1b5b3ead555347b71fcb2de6e308.tar.xz
forums-99b7d18ab2ee1b5b3ead555347b71fcb2de6e308.zip
[ticket/11854] Migrate all old php4 constructor
PHPBB3-11854
Diffstat (limited to 'phpBB/phpbb/captcha/non_gd.php')
-rw-r--r--phpBB/phpbb/captcha/non_gd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/captcha/non_gd.php b/phpBB/phpbb/captcha/non_gd.php
index 0a7aeb0e6c..3818672f17 100644
--- a/phpBB/phpbb/captcha/non_gd.php
+++ b/phpBB/phpbb/captcha/non_gd.php
@@ -26,7 +26,7 @@ class non_gd
/**
* Define filtered pngs on init
*/
- function captcha()
+ function __construct()
{
// If we can we will generate a single filtered png, we avoid nastiness via emulation of some Zlib stuff
$this->define_filtered_pngs();