Ignore:
Timestamp:
Sep 20, 2011, 11:15:31 PM (10 years ago)
Author:
Edward Z. Yang <ezyang@mit.edu>
Branches:
master, release-1.9
Children:
44f585c
Parents:
99f0a77
git-author:
Edward Z. Yang <ezyang@mit.edu> (06/20/11 11:43:49)
git-committer:
Edward Z. Yang <ezyang@mit.edu> (09/20/11 23:15:31)
Message:
Rename postid to post_id.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Facebook/lib/BarnOwl/Module/Facebook.pm

    r99f0a77 reb497a9  
    102102BarnOwl::new_command('facebook-comment' => \&cmd_facebook_comment, {
    103103    summary     => 'Comment on a wall post.',
    104     usage       => 'facebook-comment POSTID',
     104    usage       => 'facebook-comment POST_ID',
    105105    description => 'Comment on a friend\'s wall post.  Using r is recommended.'
    106106});
     
    130130sub cmd_facebook_comment {
    131131    my $cmd  = shift;
    132     my $postid = shift;
     132    my $post_id = shift;
    133133
    134     my $topic = $facebook_handle->get_topic($postid);
     134    my $topic = $facebook_handle->get_topic($post_id);
    135135
    136136    # XXX UI should give some (better) indication /which/ conversation
    137137    # is being commented on
    138138    BarnOwl::start_edit_win("Write a comment on '$topic'...",
    139                             sub { $facebook_handle->facebook_comment($postid, shift) });
     139                            sub { $facebook_handle->facebook_comment($post_id, shift) });
    140140}
    141141
Note: See TracChangeset for help on using the changeset viewer.