X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_Common.pm;h=d830f2fad0477bd549310fc0a2b756e15e53cb08;hp=787acee22f05374015caa784aacc07d72091901d;hb=99037cf94d9d6b5d7c1e512a6dca842706851710;hpb=523a6ea6ecb07ed1b953c05ce36ef7b33293cf18 diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm index 787acee22..d830f2fad 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -708,6 +708,19 @@ sub unsuspend { $self->export('unsuspend', @$export_args); } +=item export_links + +Runs export_links callbacks and returns the links. + +=cut + +sub export_links { + my $self = shift; + my $return = []; + $self->export('links', $return); + $return; +} + =item export HOOK [ EXPORT_ARGS ] Runs the provided export hook (i.e. "suspend", "unsuspend") for this service.