From: Janusz Dobrowolski Date: Sat, 18 Jan 2020 08:03:18 +0000 (+0100) Subject: Fixed Assets Depreciation: removed invalid and obsolete audit record update. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=ba480840fbf40ae7e1b825a269c5672ef661deaf Fixed Assets Depreciation: removed invalid and obsolete audit record update. --- diff --git a/fixed_assets/includes/fixed_assets_db.inc b/fixed_assets/includes/fixed_assets_db.inc index 11c9c027..39c3f44e 100644 --- a/fixed_assets/includes/fixed_assets_db.inc +++ b/fixed_assets/includes/fixed_assets_db.inc @@ -57,8 +57,6 @@ function process_fixed_asset_depreciation($stock_id, $gl_rows, $refline, $memo_) WHERE stock_id=".db_escape($stock_id); db_query($sql,"The depreciation start date could not be updated"); - $update_no = -1; - add_audit_trail(ST_JOURNAL, $update_no, $date_); commit_transaction(); return $trans_no;