summaryrefslogtreecommitdiff
path: root/actions/api.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-25 18:53:24 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-25 18:53:24 -0400
commit3567b9d708971f9075db1fd847158c3c15a04e23 (patch)
treee19fc5a60290fe7bd38e46b2456ae8c2965e1cac /actions/api.php
parent99e3b1723bf7d1ece312dd9c3431fa997c6a22b2 (diff)
global search and replace for laconica -> statusnet
Diffstat (limited to 'actions/api.php')
-rw-r--r--actions/api.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/api.php b/actions/api.php
index 897e848c1..91f30e87a 100644
--- a/actions/api.php
+++ b/actions/api.php
@@ -125,9 +125,9 @@ class ApiAction extends Action
'users/show',
'help/test',
'help/downtime_schedule',
- 'laconica/version',
- 'laconica/config',
- 'laconica/wadl',
+ 'statusnet/version',
+ 'statusnet/config',
+ 'statusnet/wadl',
'tags/timeline',
'oembed/oembed',
'groups/show',
@@ -147,11 +147,11 @@ class ApiAction extends Action
$fullname = "$this->api_action/$this->api_method";
- // If the site is "private", all API methods except laconica/config
+ // If the site is "private", all API methods except statusnet/config
// need authentication
if (common_config('site', 'private')) {
- return $fullname != 'laconica/config' || false;
+ return $fullname != 'statusnet/config' || false;
}
// bareauth: only needs auth if without an argument or query param specifying user