diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-12-03 17:50:29 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-06 13:51:19 +0100 |
| commit | 73e6e5b77faadbb7676961bf38122d669de111db (patch) | |
| tree | f35a54eacd94d3c947074fe5cd21b407ef997b24 /phpBB/phpbb/captcha/gd.php | |
| parent | d0adbe94d53cd5997e8ab66ec3788240669826ff (diff) | |
| download | forums-73e6e5b77faadbb7676961bf38122d669de111db.tar forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.gz forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.bz2 forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.xz forums-73e6e5b77faadbb7676961bf38122d669de111db.zip | |
[ticket/13454] Remove unused variables
This is the first part of the changes. More to come.
PHPBB3-13454
Diffstat (limited to 'phpBB/phpbb/captcha/gd.php')
| -rw-r--r-- | phpBB/phpbb/captcha/gd.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/phpbb/captcha/gd.php b/phpBB/phpbb/captcha/gd.php index 652df28f8a..e9538439c6 100644 --- a/phpBB/phpbb/captcha/gd.php +++ b/phpBB/phpbb/captcha/gd.php @@ -97,13 +97,12 @@ class gd if ($config['captcha_gd_3d_noise']) { - $xoffset = mt_rand(0,9); $noise_bitmaps = $this->captcha_noise_bg_bitmaps(); for ($i = 0; $i < $code_len; ++$i) { $noise[$i] = new char_cube3d($noise_bitmaps, mt_rand(1, sizeof($noise_bitmaps['data']))); - list($min, $max) = $noise[$i]->range(); + $noise[$i]->range(); //$box = $noise[$i]->dimensions($sizes[$i]); } $xoffset = 0; @@ -151,8 +150,6 @@ class gd */ function wave($img) { - global $config; - $period_x = mt_rand(12,18); $period_y = mt_rand(7,14); $amp_x = mt_rand(5,10); |
