summaryrefslogtreecommitdiff
path: root/actions/apigroupmembership.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-04 22:03:41 -0800
committerZach Copley <zach@status.net>2009-11-04 22:03:41 -0800
commit1ef1f59fe8ec8c3fd012838cfe0d20051287c2d6 (patch)
tree079a971ea2788fa4d97d417672c22ec0c4c80788 /actions/apigroupmembership.php
parentfbeae998840fb58ac2fbb8779f14eb2abe74cd08 (diff)
Fix for Ticket #1957 - API methods are not accessible when site is private (0.8->0.9 regression)
Diffstat (limited to 'actions/apigroupmembership.php')
-rw-r--r--actions/apigroupmembership.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apigroupmembership.php b/actions/apigroupmembership.php
index b31e47b39..d221a6418 100644
--- a/actions/apigroupmembership.php
+++ b/actions/apigroupmembership.php
@@ -34,7 +34,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
-require_once INSTALLDIR . '/lib/api.php';
+require_once INSTALLDIR . '/lib/apiprivateauth.php';
/**
* List 20 newest members of the group specified by name or ID.
@@ -49,7 +49,7 @@ require_once INSTALLDIR . '/lib/api.php';
* @link http://status.net/
*/
-class ApiGroupMembershipAction extends ApiAction
+class ApiGroupMembershipAction extends ApiPrivateAuthAction
{
var $group = null;
var $profiles = null;