Commit 7e65f4f6 authored by mmn's avatar mmn

StatusNet to GNU social renaming in minor places

parent 8fac7a9f
......@@ -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');
......
......@@ -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
......
......@@ -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);
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment