contacts app_defaults breaks PDO db (#6585)
This commit is contained in:
@@ -4,7 +4,6 @@ if ($domains_processed == 1) {
|
||||
|
||||
//populate new phone_label values, phone_type_* values
|
||||
$obj = new schema;
|
||||
$obj->db = $db;
|
||||
$obj->db_type = $db_type;
|
||||
$obj->schema();
|
||||
$field_exists = $obj->column_exists($db_name, 'v_contact_phones', 'phone_type'); //check if field exists
|
||||
@@ -62,7 +61,6 @@ if ($domains_processed == 1) {
|
||||
|
||||
//populate primary email from deprecated field in v_contact table
|
||||
$obj = new schema;
|
||||
$obj->db = $db;
|
||||
$obj->db_type = $db_type;
|
||||
$obj->schema();
|
||||
$field_exists = $obj->column_exists($db_name, 'v_contacts', 'contact_email'); //check if field exists
|
||||
@@ -123,7 +121,6 @@ if ($domains_processed == 1) {
|
||||
|
||||
//populate primary url from deprecated field in v_contact table
|
||||
$obj = new schema;
|
||||
$obj->db = $db;
|
||||
$obj->db_type = $db_type;
|
||||
$obj->schema();
|
||||
$field_exists = $obj->column_exists($db_name, 'v_contacts', 'contact_url'); //check if field exists
|
||||
|
||||
Reference in New Issue
Block a user