summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers/captcha_helper.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-01-05 23:09:30 +0100
committerAndrey Andreev <narf@devilix.net>2022-01-05 23:09:30 +0100
commitaae89a56a3e1b61b6a840dc455657e5e4952cf24 (patch)
treea09f630bd2dea6213be2547190d6c8adb2b74b35 /user_guide_src/source/helpers/captcha_helper.rst
parent2bb6a49cf53f916e3162a96948deb7a63763c4c3 (diff)
Drop more deprecated functionality
Diffstat (limited to 'user_guide_src/source/helpers/captcha_helper.rst')
-rw-r--r--user_guide_src/source/helpers/captcha_helper.rst9
1 files changed, 1 insertions, 8 deletions
diff --git a/user_guide_src/source/helpers/captcha_helper.rst b/user_guide_src/source/helpers/captcha_helper.rst
index a1c13c5c8..f8d97596a 100644
--- a/user_guide_src/source/helpers/captcha_helper.rst
+++ b/user_guide_src/source/helpers/captcha_helper.rst
@@ -129,12 +129,9 @@ Available Functions
The following functions are available:
-.. php:function:: create_captcha([$data = ''[, $img_path = ''[, $img_url = ''[, $font_path = '']]]])
+.. php:function:: create_captcha($data)
:param array $data: Array of data for the CAPTCHA
- :param string $img_path: Path to create the image in (DEPRECATED)
- :param string $img_url: URL to the CAPTCHA image folder (DEPRECATED)
- :param string $font_path: Server path to font (DEPRECATED)
:returns: array('word' => $word, 'time' => $now, 'image' => $img)
:rtype: array
@@ -159,7 +156,3 @@ The following functions are available:
The **word** is the word that appears in the captcha image, which if not
supplied to the function, will be a random string.
-
- .. note:: Usage of the ``$img_path``, ``$img_url`` and ``$font_path``
- parameters is DEPRECATED. Provide them in the ``$data`` array
- instead.