StatusNet to GNU social renaming in minor places

This commit is contained in:
Mikael Nordfeldth 2015-02-27 12:55:08 +01:00
parent 8fac7a9f6c
commit 7e65f4f6ea
4 changed files with 5 additions and 5 deletions

View File

@ -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');

View File

@ -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

View File

@ -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);

View File

@ -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();