summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cgp_rule.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/cgp_rule.html')
-rw-r--r--httemplate/edit/process/cgp_rule.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/httemplate/edit/process/cgp_rule.html b/httemplate/edit/process/cgp_rule.html
deleted file mode 100644
index 5326587cb..000000000
--- a/httemplate/edit/process/cgp_rule.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<% include( 'elements/process.html',
- 'table' => 'cgp_rule',
- 'redirect' => $redirect,
- 'process_o2m' => [
- {
- 'table' => 'cgp_rule_condition',
- 'fields' => [qw( conditionname op params )],
- },
- {
- 'table' => 'cgp_rule_action',
- 'fields' => [qw( action params )],
- },
- ],
- 'noerror_callback' => sub {
- my( $cgi, $object ) = @_;
- my $error = $object->svc_export;
- #shit, not a good place for error handling :/
- die $error if $error;
- },
- )
-%>
-<%init>
-
-my $redirect = sub {
- my($cgi, $new) = @_;
- my $svcnum = $new->svcnum;
- popurl(3)."browse/cgp_rule.html?svcnum=$svcnum;rulenum=";
-};
-
-</%init>