Skip to content

Commit

Permalink
Pass in correct new API to tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed Jun 21, 2002
1 parent b39a108 commit 9721bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/runtask
Expand Up @@ -299,7 +299,7 @@ sub main {
slashdLog("$task_name begin") if verbosity() >= 2;
my $start_time = Time::HiRes::time;
# runtask doesn't fork, there wouldn't be much point
my $rc = $subref->($virtual_user, $constants, $slashdb, $user);
my $rc = $subref->($virtual_user, $constants, $slashdb, $user, {});
if (verbosity() >= 2) {
my $duration = sprintf("%.2f", Time::HiRes::time - $start_time);
slashdLog("$task_name end: $rc (ran in ${duration}s)");
Expand Down

0 comments on commit 9721bd2

Please sign in to comment.