diff options
author | Evan Prodromou <evan@status.net> | 2009-11-17 06:25:07 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-17 06:25:07 -0500 |
commit | 6a1afda259c5223449f679a64f932e36df5ebe39 (patch) | |
tree | 7d754e8a1b7734c6750ca84b28ba0e93213e0a86 /lib/commandinterpreter.php | |
parent | d59af0296070cd868855564a0280e4be2c16410d (diff) | |
parent | 75c00f0054c08c7b49515c849260afbb6913f525 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
classes/statusnet.ini
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r-- | lib/commandinterpreter.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index d878fe268..665015afc 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -47,6 +47,24 @@ class CommandInterpreter } else { return new LoginCommand($user); } + case 'subscribers': + if ($arg) { + return null; + } else { + return new SubscribersCommand($user); + } + case 'subscriptions': + if ($arg) { + return null; + } else { + return new SubscriptionsCommand($user); + } + case 'groups': + if ($arg) { + return null; + } else { + return new GroupsCommand($user); + } case 'on': if ($arg) { list($other, $extra) = $this->split_arg($arg); |