Replace Function logAction() with logAudit()

This commit is contained in:
johnnyq
2026-07-14 17:35:23 -04:00
parent 29a0b3ead8
commit f1836c70cd
109 changed files with 663 additions and 663 deletions

View File

@@ -141,7 +141,7 @@ if ($item_type == "Document") {
// Logging
$name = mysqli_real_escape_string($mysqli, $doc_title);
logAction("Share", "View", "Viewed shared $item_type $doc_title_escaped via link", $client_id);
logAudit("Share", "View", "Viewed shared $item_type $doc_title_escaped via link", $client_id);
} elseif ($item_type == "File") {
@@ -257,7 +257,7 @@ if ($item_type == "Document") {
// Logging
$name = escapeSql($credential_row['credential_name']);
logAction("Share", "View", "Viewed shared $item_type $name via link", $client_id);
logAudit("Share", "View", "Viewed shared $item_type $name via link", $client_id);
}