@@ 1970-1972 (lines=3) @@ | ||
1967 | ) { |
|
1968 | $ids_for_removal = $columns_and_ids_for_deleting[ $this->get_primary_key_field()->get_qualified_column() ]; |
|
1969 | foreach ($ids_for_removal as $id) { |
|
1970 | if (isset($this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $id ])) { |
|
1971 | unset($this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $id ]); |
|
1972 | } |
|
1973 | } |
|
1974 | ||
1975 | // delete any extra meta attached to the deleted entities but ONLY if this model is not an instance of |
|
@@ 5340-5343 (lines=4) @@ | ||
5337 | $this->_entity_map[ EEM_Base::$_model_query_blog_id ] = array(); |
|
5338 | return true; |
|
5339 | } |
|
5340 | if (isset($this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $id ])) { |
|
5341 | unset($this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $id ]); |
|
5342 | return true; |
|
5343 | } |
|
5344 | return false; |
|
5345 | } |
|
5346 |