diable austids

This commit is contained in:
CHIEFSOFT\ameye
2026-01-10 10:07:45 -05:00
parent a871b21836
commit 65a81a7a51
+14 -18
View File
@@ -455,25 +455,21 @@ class Provision extends BaseController
private function auditProvisionPlans($subscriptionUid): void
{
// Where is your provision plan
//SELECT * from provision_plans where provision_id = 46;
//SELECT uid id,provision_status, status FROM members_products WHERE id = 46
try {
$sqlP = "SELECT * FROM members_products WHERE uid::text = '$subscriptionUid' ";
$query = $this->db->query($sqlP);
$row = $query->row();
if (isset($row)) {
echo $row->title;
}
} catch (Exception $e) {
// Handle the specific exception
echo "Caught exception: " . $e->getMessage() . "\n";
} finally {
// Cleanup code, always runs
echo "Attempted file operation finished.\n";
}
// try {
// $sqlP = "SELECT * FROM members_products WHERE uid::text = '$subscriptionUid' ";
// $query = $this->db->query($sqlP);
// $row = $query->row();
// if (isset($row)) {
// echo $row->title;
//
//
// }
// } catch (Exception $e) {
// echo "Caught exception: " . $e->getMessage() . "\n";
// } finally {
// echo "Attempted file operation finished.\n";
// }
}