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:
copilot-swe-agent[bot] 2026-05-05 17:25:36 +00:00 committed by GitHub
parent 5b2162fb28
commit e13c00e89d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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';

View file

@ -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)