fix: address code review feedback - spacing and SQL comment
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/439845e0-926e-4b49-9cd0-810457b73c12 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
5b2162fb28
commit
e13c00e89d
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ WHERE `status` = 'installed';
|
|||
|
||||
-- Map old 'paid' to 'Active'
|
||||
-- (Orders that were paid but not yet provisioned should be provisioned
|
||||
-- via home.php?m=billing&p=provision_servers after this migration.)
|
||||
-- via the admin orders panel after this migration.)
|
||||
UPDATE `gsp_billing_orders`
|
||||
SET `status` = 'Active'
|
||||
WHERE `status` = 'paid';
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ function exec_ogp_module()
|
|||
}
|
||||
}
|
||||
|
||||
$expired_users = $db->resultQuery("SELECT user_id, home_id, user_expiration_date FROM OGP_DB_PREFIXuser_homes WHERE user_expiration_date NOT LIKE 'X' AND user_expiration_date < " . $today_midnight . ";" );
|
||||
$expired_users = $db->resultQuery("SELECT user_id, home_id, user_expiration_date FROM OGP_DB_PREFIXuser_homes WHERE user_expiration_date NOT LIKE 'X' AND user_expiration_date < " . $today_midnight . ";");
|
||||
if($expired_users)
|
||||
{
|
||||
foreach ((array)$expired_users as $expired_user)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue