summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command/Delete.pm
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 04:23:41 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 04:23:41 -0500
commit6fdf4cf08d6be3f99979c09d391bc091c52bc9fb (patch)
tree7576116a9cd3062b454a502ca0ff4b1dd0ac962a /lib/App/Hiveminder/Command/Delete.pm
parent5a43cf961939e42df2defbda0cf60ad4550b2cd7 (diff)
downloadapp-hiveminder-6fdf4cf08d6be3f99979c09d391bc091c52bc9fb.tar.gz
app-hiveminder-6fdf4cf08d6be3f99979c09d391bc091c52bc9fb.zip
some more forgotten argumentsHEADmaster
Diffstat (limited to 'lib/App/Hiveminder/Command/Delete.pm')
-rw-r--r--lib/App/Hiveminder/Command/Delete.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hiveminder/Command/Delete.pm b/lib/App/Hiveminder/Command/Delete.pm
index 33552eb..b6d7202 100644
--- a/lib/App/Hiveminder/Command/Delete.pm
+++ b/lib/App/Hiveminder/Command/Delete.pm
@@ -17,7 +17,7 @@ sub command {
# XXX: offer an interactive mode here, possibly
my $ret = '';
for my $locator (@_) {
- my $desc = display_tasks($self->hm->read_task($locator));
+ my $desc = display_tasks($self->hm, $self->hm->read_task($locator));
$ret .= "Deleted $desc\n";
eval { $self->hm->delete('Task', id => $self->hm->loc2id($locator)) };
warn $@ unless $@ =~ /404 Not Found/;