Remove superfluous variable assignments
This commit is contained in:
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user