Remove superfluous variable assignments

This commit is contained in:
2022-09-15 21:29:07 +02:00
parent 7c0ad9fa37
commit 5819caff91
12 changed files with 44 additions and 134 deletions

View File

@ -89,7 +89,6 @@ final class NodaLogEdit {
$insertStmt->bind_param("issss", $tag_id, $tool_name, $user_name, $action, $section);
$insertStmt->execute();
$insertStmt->close();
$insertStmt = null;
// Update the main tag table, except for edits to the base,
// as these have built-in updating and updating in this case
@ -103,7 +102,6 @@ final class NodaLogEdit {
$updateStmt->bind_param("si", $user_name, $tag_id);
$updateStmt->execute();
$updateStmt->close();
$updateStmt = null;
}
@ -134,7 +132,6 @@ final class NodaLogEdit {
$insertStmt->bind_param("issss", $persinst_id, $tool_name, $user_name, $action, $section);
$insertStmt->execute();
$insertStmt->close();
$insertStmt = null;
}
@ -163,7 +160,6 @@ final class NodaLogEdit {
$insertStmt->bind_param("issss", $zeit_id, $tool_name, $user_name, $action, $section);
$insertStmt->execute();
$insertStmt->close();
$insertStmt = null;
}
@ -192,7 +188,6 @@ final class NodaLogEdit {
$insertStmt->bind_param("issss", $ort_id, $tool_name, $user_name, $action, $section);
$insertStmt->execute();
$insertStmt->close();
$insertStmt = null;
// Update the main tag table, except for edits to the base,
// as these have built-in updating and updating in this case
@ -206,7 +201,6 @@ final class NodaLogEdit {
$updateStmt->bind_param("si", $user_name, $ort_id);
$updateStmt->execute();
$updateStmt->close();
$updateStmt = null;
}