[freeside-commits] freeside/FS/FS svc_Common.pm,1.62.2.5,1.62.2.6
Ivan,,,
ivan at wavetail.420.am
Thu Feb 9 02:10:00 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv20340/FS/FS
Modified Files:
Tag: FREESIDE_2_3_BRANCH
svc_Common.pm
Log Message:
spam settings, RT#15987
Index: svc_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_Common.pm,v
retrieving revision 1.62.2.5
retrieving revision 1.62.2.6
diff -u -w -d -r1.62.2.5 -r1.62.2.6
--- svc_Common.pm 15 Jan 2012 05:28:05 -0000 1.62.2.5
+++ svc_Common.pm 9 Feb 2012 10:09:58 -0000 1.62.2.6
@@ -1021,6 +1021,24 @@
( $html, \%hash );
}
+=item export_setstatus
+
+Runs export_setstatus callbacks. If there is an error, returns the error,
+otherwise returns false.
+
+=cut
+
+sub export_setstatus {
+ my( $self, @args ) = @_;
+ my $error = $self->export('setstatus', @args);
+ if ( $error ) {
+ warn "error running export_setstatus: $error";
+ return $error;
+ }
+ '';
+}
+
+
=item export HOOK [ EXPORT_ARGS ]
Runs the provided export hook (i.e. "suspend", "unsuspend") for this service.
More information about the freeside-commits
mailing list