Permalink
Browse files

Return FireHose IDs

  • Loading branch information...
1 parent e5990b5 commit bb327a9865512f5f95c24947ad8f3a91c462d0fe @pudge pudge committed Oct 3, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 plugins/FireHose/FireHose.pm
@@ -119,9 +119,9 @@ sub createUpdateItemFromJournal {
discussion => $journal->{discussion},
word_count => countWords($introtext)
});
-
+ return $itemid;
} else {
- $self->createItemFromJournal($id);
+ return $self->createItemFromJournal($id);
}
}
}
@@ -218,7 +218,7 @@ sub createItemFromJournal {
subnetid => $user->{subnetid},
createtime => $journal->{date}
};
- $self->createFireHose($data);
+ my $id = $self->createFireHose($data);
if ($publicize && !isAnon($journal->{uid})) {
my $constants = getCurrentStatic();
my $tags = getObject('Slash::Tags');
@@ -229,8 +229,8 @@ sub createItemFromJournal {
private => 1,
});
}
+ return $id;
}
-
}
sub createUpdateItemFromBookmark {

0 comments on commit bb327a9

Please sign in to comment.