summaryrefslogtreecommitdiff
path: root/bin/am.pl
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-08-20 03:32:57 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-08-20 03:32:57 +0000
commite61198a359d8e50f792d227caa3e9085c6cbdf90 (patch)
tree4b12b1a9f061bc7ce78bbbc2cc114d93fc9a8667 /bin/am.pl
parent68ad0ad694ee8dddb75e7a0ecfd70db8f2fc03a8 (diff)
POD for AM.pm and disabling audit trail deletion "feature".
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1460 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/am.pl')
-rw-r--r--bin/am.pl17
1 files changed, 9 insertions, 8 deletions
diff --git a/bin/am.pl b/bin/am.pl
index 1eaec1f0..4a8e297f 100644
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -2524,11 +2524,11 @@ sub audit_control {
. qq| <input name=audittrail class=radio type=radio value="0" $checked{audittrailN}> |
. $locale->text('No')
. qq|</td>
- </tr>
+ </tr><!-- SC: Disabling audit trail deletion
<tr>
<th align="right">| . $locale->text('Remove Audit trail up to') . qq|</th>
<td><input name=removeaudittrail size=11 title="$myconfig{dateformat}"></td>
- </tr>
+ </tr> -->
</table>
</td>
</tr>
@@ -2578,12 +2578,13 @@ sub doclose {
$msg .= $locale->text('Audit trail disabled');
}
- $msg .= "<p>";
- if ( $form->{removeaudittrail} ) {
- $msg .=
- $locale->text('Audit trail removed up to') . " "
- . $locale->date( \%myconfig, $form->{removeaudittrail}, 1 );
- }
+##SC: Disabling audit trail deletion
+## $msg .= "<p>";
+## if ( $form->{removeaudittrail} ) {
+## $msg .=
+## $locale->text('Audit trail removed up to') . " "
+## . $locale->date( \%myconfig, $form->{removeaudittrail}, 1 );
+## }
$form->redirect($msg);