StatusNet class renamed GNUsocial
also added backward compatible StatusNet class for the two calls I know third party plugins use, isHTTPS and getActivePlugins
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user