]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Recaptcha/RecaptchaPlugin.php
Merge branch 'nightly' into 'nightly'
[quix0rs-gnu-social.git] / plugins / Recaptcha / RecaptchaPlugin.php
index 73a2dcc76acb9a3eb567fb4dbc8435212e5c4ef8..946c604e65c52f1b3805ed92dec25c8a2094669d 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";
@@ -107,7 +107,7 @@ class RecaptchaPlugin extends Plugin
     function onPluginVersion(&$versions)
     {
         $versions[] = array('name' => 'Recaptcha',
-                            'version' => STATUSNET_VERSION,
+                            'version' => GNUSOCIAL_VERSION,
                             'author' => 'Eric Helgeson',
                             'homepage' => 'http://status.net/wiki/Plugin:Recaptcha',
                             'rawdescription' =>