diff --git a/app/Controllers/Provision.php b/app/Controllers/Provision.php index 345cbd9..39d5bbe 100644 --- a/app/Controllers/Provision.php +++ b/app/Controllers/Provision.php @@ -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"; +// } }