]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix incorrect function name in updateostatus.php script
authorEvan Prodromou <evan@status.net>
Wed, 25 Aug 2010 16:32:10 +0000 (12:32 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 25 Aug 2010 16:32:10 +0000 (12:32 -0400)
plugins/OStatus/scripts/updateostatus.php

index 622ded56ab9044d9d708c97fa372f75d20d0c34f..ff0d86d37984faf17e668edfc106f95cc445b907 100644 (file)
@@ -44,14 +44,14 @@ try {
         if (empty($user)) {
             throw new Exception("Can't find user with id '$id'.");
         }
-        updateProfileURL($user);
+        updateOStatus($user);
     } else if (have_option('n', 'nickname')) {
         $nickname = get_option_value('n', 'nickname');
         $user = User::staticGet('nickname', $nickname);
         if (empty($user)) {
             throw new Exception("Can't find user with nickname '$nickname'");
         }
-        updateProfileURL($user);
+        updateOStatus($user);
     } else if (have_option('a', 'all')) {
         $user = new User();
         if ($user->find()) {