aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha
diff options
context:
space:
mode:
authorasperous <theandychase@gmail.com>2013-04-23 09:55:36 -0700
committerasperous <theandychase@gmail.com>2013-04-23 09:55:36 -0700
commit9f545a7f6ba7ddd54fae083563b5b582e05f5c1c (patch)
tree1f10dd793aabb7cfc3e99fbb7c10437d9dc779b7 /phpBB/includes/captcha
parentab628cbdb99eda1c3efbbca7e374f64876800428 (diff)
downloadforums-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.tar
forums-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.tar.gz
forums-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.tar.bz2
forums-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.tar.xz
forums-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.zip
[ticket/9975] Moved a few E_USER_ERROR errors to /language
There were a few error messages that a user could experience that would, previously, be without any the ability to be localized. There are some more E_USER_ERRORs that I did not change to a constant, for example the error message that is displayed if there aren't any folders in /language. PHPBB3-9975
Diffstat (limited to 'phpBB/includes/captcha')
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index 83d40bbba7..cb21b04ec5 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -270,7 +270,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
$response = '';
if (false == ($fs = @fsockopen($host, $port, $errno, $errstr, 10)))
{
- trigger_error('Could not open socket', E_USER_ERROR);
+ trigger_error('RECAPTCHA_SOCKET_ERROR', E_USER_ERROR);
}
fwrite($fs, $http_request);