$e->allowed('REQUEST_HOLDS', $recipient->home_ou) or return $e->event;
}
-
# Now make sure the recipient is allowed to receive the specified hold
my $pevt;
my $porg = $recipient->home_ou;
}
}
-
-# if( $eevt ) {
-# if( $override ) {
-# return $e->event unless $e->allowed('CREATE_DUPLICATE_HOLDS', $porg);
-# } else {
-# return $eevt;
-# }
-# }
-
-
$hold->requestor($e->requestor->id);
$hold->selection_ou($recipient->home_ou) unless $hold->selection_ou;
$e->create_action_hold_request($hold) or return $e->event;