From 7e65f4f6ea86124c074e72ea42c07cd6a99887a0 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 27 Feb 2015 12:55:08 +0100 Subject: [PATCH] StatusNet to GNU social renaming in minor places --- lib/apiaction.php | 2 +- lib/apiauthaction.php | 2 +- lib/atom10feed.php | 4 ++-- lib/rssaction.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/apiaction.php b/lib/apiaction.php index 09061e3647..062e6d0774 100755 --- a/lib/apiaction.php +++ b/lib/apiaction.php @@ -159,7 +159,7 @@ class ApiAction extends Action $this->limit = $this->count + 1; if ($this->arg('since')) { - header('X-StatusNet-Warning: since parameter is disabled; use since_id'); + header('X-GNUsocial-Warning: since parameter is disabled; use since_id'); } $this->source = $this->trimmed('source'); diff --git a/lib/apiauthaction.php b/lib/apiauthaction.php index 2eca6b6467..2f2e50a4d7 100644 --- a/lib/apiauthaction.php +++ b/lib/apiauthaction.php @@ -39,7 +39,7 @@ /*! @page authentication Authentication - StatusNet supports HTTP Basic Authentication and OAuth for API calls. + GNU social supports HTTP Basic Authentication and OAuth for API calls. @warning Currently, users who have created accounts without setting a password via OpenID, Facebook Connect, etc., cannot use the API until diff --git a/lib/atom10feed.php b/lib/atom10feed.php index 77e05b8ca5..2bba6d0a91 100644 --- a/lib/atom10feed.php +++ b/lib/atom10feed.php @@ -167,10 +167,10 @@ class Atom10Feed extends XMLStringer $this->element( 'generator', array( - 'uri' => 'http://status.net', + 'uri' => 'https://gnu.io/social', 'version' => GNUSOCIAL_VERSION ), - 'StatusNet' + 'GNU social' ); $this->element('id', null, $this->id); diff --git a/lib/rssaction.php b/lib/rssaction.php index 684ecd6d8c..c3e1283fed 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -89,7 +89,7 @@ class Rss10Action extends Action if (!isset($_SERVER['PHP_AUTH_USER'])) { // This header makes basic auth go - header('WWW-Authenticate: Basic realm="StatusNet RSS"'); + header('WWW-Authenticate: Basic realm="GNU social RSS"'); // If the user hits cancel -- bam! $this->show_basic_auth_error(); -- 2.39.2