diable austids
This commit is contained in:
@@ -455,25 +455,21 @@ class Provision extends BaseController
|
|||||||
|
|
||||||
private function auditProvisionPlans($subscriptionUid): void
|
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;
|
|
||||||
|
|
||||||
|
// try {
|
||||||
}
|
// $sqlP = "SELECT * FROM members_products WHERE uid::text = '$subscriptionUid' ";
|
||||||
} catch (Exception $e) {
|
// $query = $this->db->query($sqlP);
|
||||||
// Handle the specific exception
|
// $row = $query->row();
|
||||||
echo "Caught exception: " . $e->getMessage() . "\n";
|
// if (isset($row)) {
|
||||||
} finally {
|
// echo $row->title;
|
||||||
// Cleanup code, always runs
|
//
|
||||||
echo "Attempted file operation finished.\n";
|
//
|
||||||
}
|
// }
|
||||||
|
// } catch (Exception $e) {
|
||||||
|
// echo "Caught exception: " . $e->getMessage() . "\n";
|
||||||
|
// } finally {
|
||||||
|
// echo "Attempted file operation finished.\n";
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user