]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Changed to StatusNet consistent terminology
authorCraig Andrews <candrews@integralblue.com>
Mon, 16 Nov 2009 16:17:14 +0000 (11:17 -0500)
committerCraig Andrews <candrews@integralblue.com>
Mon, 16 Nov 2009 16:17:14 +0000 (11:17 -0500)
lib/command.php
lib/commandinterpreter.php

index c4a4f7cf4f56b901fe3e5a11be7fc9bfc8392a89..247ea447582a0d4d35568ad5c364aa1d1d5e5a1e 100644 (file)
@@ -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".
index ecc08f1018a4a9751a1b704aa1d7838fdd7b6f57..c39fafb62bdc87faad7072fdfdd420ce3cf28644 100644 (file)
@@ -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) {