From dd825e780ad1e7d520f5c2d7f99c0f67fe892781 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 10 Jan 2013 00:06:26 -0800 Subject: add blacklist/whitelist settings to self-service API, RT#20896 --- FS/FS/svc_Common.pm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'FS/FS/svc_Common.pm') diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm index 7aede54a6..4efdc23ad 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -1092,6 +1092,25 @@ sub export_setstatus { ''; } +sub export_setstatus_listadd { + my( $self, @args ) = @_; + my $error = $self->export('setstatus_listadd', @args); + if ( $error ) { + warn "error running export_setstatus: $error"; + return $error; + } + ''; +} + +sub export_setstatus_listdel { + my( $self, @args ) = @_; + my $error = $self->export('setstatus_listdel', @args); + if ( $error ) { + warn "error running export_setstatus: $error"; + return $error; + } + ''; +} =item export HOOK [ EXPORT_ARGS ] -- cgit v1.2.1