summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-16 11:17:14 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-16 11:17:14 -0500
commit73b4d770a2551018ea17d115d980972dc5f0865a (patch)
tree3b462ad053279c03f42734e504a93d599aa4ff1c /lib
parent5b51eeeebb319d255e3f51d9946be57787207fda (diff)
Changed to StatusNet consistent terminology
Diffstat (limited to 'lib')
-rw-r--r--lib/command.php8
-rw-r--r--lib/commandinterpreter.php8
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/command.php b/lib/command.php
index c4a4f7cf4..247ea4475 100644
--- a/lib/command.php
+++ b/lib/command.php
@@ -605,7 +605,7 @@ class LoginCommand extends Command
}
}
-class FollowingCommand extends Command
+class SubscriptionsCommand extends Command
{
function execute($channel)
{
@@ -624,7 +624,7 @@ class FollowingCommand extends Command
}
}
-class FollowersCommand extends Command
+class SubscribersCommand extends Command
{
function execute($channel)
{
@@ -653,8 +653,8 @@ class HelpCommand extends Command
"off - turn off notifications\n".
"help - show this help\n".
"follow <nickname> - subscribe to user\n".
- "following - list the people you follow\n".
- "followers - list the people that follow you\n".
+ "subscriptions - list the people you follow\n".
+ "subscribers - list the people that follow you\n".
"leave <nickname> - unsubscribe from user\n".
"d <nickname> <text> - direct message to user\n".
"get <nickname> - get last notice from user\n".
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php
index ecc08f101..c39fafb62 100644
--- a/lib/commandinterpreter.php
+++ b/lib/commandinterpreter.php
@@ -47,17 +47,17 @@ class CommandInterpreter
} else {
return new LoginCommand($user);
}
- case 'followers':
+ case 'subscribers':
if ($arg) {
return null;
} else {
- return new FollowersCommand($user);
+ return new SubscribersCommand($user);
}
- case 'following':
+ case 'subscriptions':
if ($arg) {
return null;
} else {
- return new FollowingCommand($user);
+ return new SubscriptionsCommand($user);
}
case 'on':
if ($arg) {