]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Recaptcha/RecaptchaPlugin.php
Merge branch 'master' of git.gnu.io:Quix0r/gnu-social
[quix0rs-gnu-social.git] / plugins / Recaptcha / RecaptchaPlugin.php
index 13709e23ab7cb769a7d57f80ba316022b3378ed3..76154e8232d0c1996dee81fd65d2b5ac4e4ba060 100644 (file)
@@ -71,7 +71,7 @@ class RecaptchaPlugin extends Plugin
     {
         if (isset($action->recaptchaPluginNeedsOutput) && $action->recaptchaPluginNeedsOutput) {
             // Load the AJAX API
-            if (StatusNet::isHTTPS()) {
+            if (GNUsocial::isHTTPS()) {
                 $url = "https://www.google.com/recaptcha/api/js/recaptcha_ajax.js";
             } else {
                 $url = "http://www.google.com/recaptcha/api/js/recaptcha_ajax.js";