[freeside-commits] freeside/FS/FS svc_Common.pm,1.63,1.64
Ivan,,,
ivan at wavetail.420.am
Thu Nov 10 13:55:51 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv25146/FS/FS
Modified Files:
svc_Common.pm
Log Message:
DSL status pulling, RT#13656
Index: svc_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_Common.pm,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -w -d -r1.63 -r1.64
--- svc_Common.pm 1 Sep 2011 05:13:08 -0000 1.63
+++ svc_Common.pm 10 Nov 2011 21:55:49 -0000 1.64
@@ -995,6 +995,26 @@
( \%settings, \%defaults );
}
+=item export_getstatus
+
+Runs export_getstatus callbacks and returns a two item list consisting of an
+HTML status and a status hashref.
+
+=cut
+
+sub export_getstatus {
+ my $self = shift;
+ my $html = '';
+ my %hash = ();
+ my $error = $self->export('getstatus', \$html, \%hash);
+ if ( $error ) {
+ #XXX bubble this up better
+ warn "error running export_getstatus: $error";
+ return ( '', {} );
+ }
+ ( $html, \%hash );
+}
+
=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