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:
Mikael Nordfeldth
2015-02-27 12:44:15 +01:00
parent f25e5e3860
commit 8fac7a9f6c
48 changed files with 520 additions and 502 deletions

View 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";