@@ 2058-2063 (lines=6) @@ | ||
2055 | } |
|
2056 | // wait! it's entirely possible that we'll have a the primary key |
|
2057 | // for this table in here, if it's a foreign key for one of the other secondary tables |
|
2058 | if (isset($delete_object[$other_table_obj->get_fully_qualified_pk_column()])) { |
|
2059 | $deletes[$other_table_obj->get_fully_qualified_pk_column()][] = $this->_wpdb_prepare_using_field( |
|
2060 | $delete_object[$other_table_obj->get_fully_qualified_pk_column()], |
|
2061 | $other_table_pk_field |
|
2062 | ); |
|
2063 | } |
|
2064 | // finally, it is possible that the fk for this table is found |
|
2065 | // in the fully qualified pk column for the fk table, so let's see if that's there! |
|
2066 | if (isset($delete_object[$other_table_obj->get_fully_qualified_pk_on_fk_table()])) { |
|
@@ 2066-2071 (lines=6) @@ | ||
2063 | } |
|
2064 | // finally, it is possible that the fk for this table is found |
|
2065 | // in the fully qualified pk column for the fk table, so let's see if that's there! |
|
2066 | if (isset($delete_object[$other_table_obj->get_fully_qualified_pk_on_fk_table()])) { |
|
2067 | $deletes[$other_table_obj->get_fully_qualified_pk_column()][] = $this->_wpdb_prepare_using_field( |
|
2068 | $delete_object[$other_table_obj->get_fully_qualified_pk_column()], |
|
2069 | $other_table_pk_field |
|
2070 | ); |
|
2071 | } |
|
2072 | } |
|
2073 | } |
|
2074 | } |