diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-08-09 15:30:05 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-08-11 01:16:10 +0200 |
| commit | 99b7d18ab2ee1b5b3ead555347b71fcb2de6e308 (patch) | |
| tree | a9499abb22a59b23d1e7d1c0dfaeebc842dda281 /phpBB/phpbb/captcha/gd.php | |
| parent | 28cf0ef8323d121a25b1c9ddd55fdd76412752ad (diff) | |
| download | forums-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/gd.php')
| -rw-r--r-- | phpBB/phpbb/captcha/gd.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/captcha/gd.php b/phpBB/phpbb/captcha/gd.php index 682022c8ed..99c279b55d 100644 --- a/phpBB/phpbb/captcha/gd.php +++ b/phpBB/phpbb/captcha/gd.php @@ -1862,7 +1862,7 @@ class char_cube3d /** */ - function char_cube3d(&$bitmaps, $letter) + function __construct(&$bitmaps, $letter) { $this->bitmap = $bitmaps['data'][$letter]; $this->bitmap_width = $bitmaps['width']; @@ -2119,7 +2119,7 @@ class colour_manager /** * Create the colour manager, link it to the image resource */ - function colour_manager($img, $background = false, $mode = 'ahsv') + function __construct($img, $background = false, $mode = 'ahsv') { $this->img = $img; $this->mode = $mode; |
