<?php
require_once __DIR__ . '/../config/db.php';
require_once __DIR__ . '/../auth/protect_admin.php';
$uid = $_GET['uid'] ?? '';
if ($uid) {
    $pdo->prepare("DELETE FROM uid_pool WHERE uid = :uid")->execute([':uid'=>$uid]);
}
header('Location: /presensi_v1/pages/manage_uid.php');
exit;
