Add a option for me to hide launcher versions and update db

This commit is contained in:
2025-09-12 10:45:49 -07:00
parent 7bfa883076
commit 3a68eaba86
2 changed files with 39 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ require __DIR__ . '/../../incl/util.php';
setJsonHeader();
$conn = newConnection();
$stmt = $conn->prepare("SELECT * FROM launcherversions ORDER BY id DESC");
$stmt = $conn->prepare("SELECT * FROM launcherversions WHERE hidden = 0 ORDER BY id DESC");
$stmt->execute();
$result = $stmt->get_result();