summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/am.pl7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/am.pl b/bin/am.pl
index f0688126..ce93f3a7 100755
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -1591,13 +1591,6 @@ sub list_templates {
sub display_form {
- $form->{file} =~ s/^(.:)*?\/|\.\.\///g;
- $form->{file} =~ s/^\/*//g;
- $form->{file} =~ s/$userspath//;
- $form->{file} =~ s/$memberfile//;
-
- $form->error("$!: $form->{file}") unless -f $form->{file};
-
AM->load_template(\%myconfig, \%$form);
$form->{title} = $form->{file};