Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub add_usr_settings {
- my $self = shift;
- my $cgi = $self->cgi;
- my $ctx = $self->ctx;
- my $user = $ctx->{user};
- my $uid = $user->id;
- $logger->info("csharp: \$uid = $uid");
- my %settings = (
- 'opac.hold_notify' => 'email'
- );
- $U->simplereq(
- 'open-ils.actor',
- 'open-ils.actor.patron.settings.update',
- $self->ctx->{authtoken}, $uid, \%settings);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement