Using FQN due to class name collision
authorAlexander Ebert <ebert@woltlab.com>
Fri, 5 Dec 2014 18:18:05 +0000 (19:18 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 5 Dec 2014 18:18:05 +0000 (19:18 +0100)
wcfsetup/install/files/lib/system/captcha/RecaptchaHandler.class.php

index 7a7ff7a0393c082c9e63639655c3bd494a432443..ebcecc0b3e97fb7451b67080f4cb1def9df32d2f 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 namespace wcf\system\captcha;
-use wcf\system\recaptcha\RecaptchaHandler;
 use wcf\system\recaptcha\RecaptchaHandlerV2;
 use wcf\system\WCF;
 use wcf\util\StringUtil;
@@ -85,7 +84,7 @@ class RecaptchaHandler implements ICaptchaHandler {
                
                if (!RECAPTCHA_PUBLICKEY || !RECAPTCHA_PRIVATEKEY) {
                        // V1
-                       RecaptchaHandler::getInstance()->validate($this->challenge, $this->response);
+                       \wcf\system\recaptcha\RecaptchaHandler::getInstance()->validate($this->challenge, $this->response);
                }
                else {
                        // V2