summaryrefslogtreecommitdiff
path: root/actions/apitimelinegroup.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-04 22:09:46 -0800
committerZach Copley <zach@status.net>2009-11-04 22:09:46 -0800
commit3252f6ec1b0e97fe2db8b40b8236a7652f87a47e (patch)
treee1944cd2a909acb9938343482efdebc2b43ceb3d /actions/apitimelinegroup.php
parent2149168d2995da0b89ee9eb6875d3899e04c783b (diff)
parent1ef1f59fe8ec8c3fd012838cfe0d20051287c2d6 (diff)
Merge branch 'fix-private-auth' into 0.9.x
* fix-private-auth: Fix for Ticket #1957 - API methods are not accessible when site is private (0.8->0.9 regression) Allow all API calls, even if the site is configured as private. The
Diffstat (limited to 'actions/apitimelinegroup.php')
-rw-r--r--actions/apitimelinegroup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apitimelinegroup.php b/actions/apitimelinegroup.php
index 5d0542918..f25f6ba51 100644
--- a/actions/apitimelinegroup.php
+++ b/actions/apitimelinegroup.php
@@ -34,7 +34,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
-require_once INSTALLDIR . '/lib/api.php';
+require_once INSTALLDIR . '/lib/apiprivateauth.php';
/**
* Returns the most recent notices (default 20) posted to the group specified by ID
@@ -49,7 +49,7 @@ require_once INSTALLDIR . '/lib/api.php';
* @link http://status.net/
*/
-class ApiTimelineGroupAction extends ApiAction
+class ApiTimelineGroupAction extends ApiPrivateAuthAction
{
var $group = null;