remove YIELD cruft introduced by rebase

This commit is contained in:
Matt Simerson 2014-09-17 13:09:47 -07:00
parent 519bb12503
commit ba1a6a1885

View File

@ -266,9 +266,6 @@ sub run_hooks_no_respond {
warn("FATAL PLUGIN ERROR [" . $code->{name} . "]: ", $@); warn("FATAL PLUGIN ERROR [" . $code->{name} . "]: ", $@);
next; next;
} }
if ($r[0] == YIELD) {
die "YIELD not valid from $hook hook";
}
last if $r[0] != DECLINED; last if $r[0] != DECLINED;
} }
$r[0] = DECLINED if not defined $r[0]; $r[0] = DECLINED if not defined $r[0];