Changed to StatusNet consistent terminology

This commit is contained in:
Craig Andrews 2009-11-16 11:17:14 -05:00
parent 5b51eeeebb
commit 73b4d770a2
2 changed files with 8 additions and 8 deletions

View File

@ -605,7 +605,7 @@ class LoginCommand extends Command
} }
} }
class FollowingCommand extends Command class SubscriptionsCommand extends Command
{ {
function execute($channel) function execute($channel)
{ {
@ -624,7 +624,7 @@ class FollowingCommand extends Command
} }
} }
class FollowersCommand extends Command class SubscribersCommand extends Command
{ {
function execute($channel) function execute($channel)
{ {
@ -653,8 +653,8 @@ class HelpCommand extends Command
"off - turn off notifications\n". "off - turn off notifications\n".
"help - show this help\n". "help - show this help\n".
"follow <nickname> - subscribe to user\n". "follow <nickname> - subscribe to user\n".
"following - list the people you follow\n". "subscriptions - list the people you follow\n".
"followers - list the people that follow you\n". "subscribers - list the people that follow you\n".
"leave <nickname> - unsubscribe from user\n". "leave <nickname> - unsubscribe from user\n".
"d <nickname> <text> - direct message to user\n". "d <nickname> <text> - direct message to user\n".
"get <nickname> - get last notice from user\n". "get <nickname> - get last notice from user\n".

View File

@ -47,17 +47,17 @@ class CommandInterpreter
} else { } else {
return new LoginCommand($user); return new LoginCommand($user);
} }
case 'followers': case 'subscribers':
if ($arg) { if ($arg) {
return null; return null;
} else { } else {
return new FollowersCommand($user); return new SubscribersCommand($user);
} }
case 'following': case 'subscriptions':
if ($arg) { if ($arg) {
return null; return null;
} else { } else {
return new FollowingCommand($user); return new SubscriptionsCommand($user);
} }
case 'on': case 'on':
if ($arg) { if ($arg) {