summaryrefslogtreecommitdiff
path: root/httemplate/misc/exchanges.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/exchanges.cgi')
-rw-r--r--httemplate/misc/exchanges.cgi24
1 files changed, 0 insertions, 24 deletions
diff --git a/httemplate/misc/exchanges.cgi b/httemplate/misc/exchanges.cgi
deleted file mode 100644
index f5860cff2..000000000
--- a/httemplate/misc/exchanges.cgi
+++ /dev/null
@@ -1,24 +0,0 @@
-%# [ <% join(', ', map { qq("$_") } @exchanges) %> ]
-<% objToJson(\@exchanges) %>
-<%init>
-
-my( $areacode, $svcpart ) = $cgi->param('arg');
-
-my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
-die "unknown svcpart $svcpart" unless $part_svc;
-
-my @exports = $part_svc->part_export_did;
-if ( scalar(@exports) > 1 ) {
- die "more than one DID-providing export attached to svcpart $svcpart";
-} elsif ( ! @exports ) {
- die "no DID providing export attached to svcpart $svcpart";
-}
-my $export = $exports[0];
-
-my $something = $export->get_dids('areacode'=>$areacode);
-
-#warn Dumper($something);
-
-my @exchanges = @{ $something };
-
-</%init>