Skip to content

Commit

Permalink
understanding is hard to come by sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
juggernautsei committed May 22, 2024
1 parent 338ac46 commit 7d4ed14
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,6 @@ private function unregister($currentActionStatus): mixed
$logMessage = ''; // Initialize an empty string to store log messages
$sql = "DELETE FROM `background_services` WHERE `name` = ? OR `name` = ? OR `name` = ?";
sqlQuery($sql, array('ClaimRev_Send', 'ClaimRev_Receive', 'ClaimRev_Elig_Send_Receive'));
$sql = "DELETE FROM `globals` WHERE `gl_name` LIKE 'oe_claimrev%'";
$rtn = sqlQuery($sql);
$logMessage .= "DELETE FROM `globals`: " . (empty($rtn) ? "Success" : "Failed") . "\n";

$sql = "DROP TABLE IF EXISTS `mod_claimrev_eligibility`";
$rtn = sqlQuery($sql);
$logMessage .= "DROP TABLE `mod_claimrev_eligibility`: " . (empty($rtn) ? "Success" : "Failed") . "\n";
error_log(text($logMessage));
return $currentActionStatus;
}
Expand Down

0 comments on commit 7d4ed14

Please sign in to comment.