|
@@ 2014-2016 (lines=3) @@
|
| 2011 |
|
) { |
| 2012 |
|
$ids_for_removal = $columns_and_ids_for_deleting[$this->get_primary_key_field()->get_qualified_column()]; |
| 2013 |
|
foreach ($ids_for_removal as $id) { |
| 2014 |
|
if (isset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id])) { |
| 2015 |
|
unset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id]); |
| 2016 |
|
} |
| 2017 |
|
} |
| 2018 |
|
|
| 2019 |
|
// delete any extra meta attached to the deleted entities but ONLY if this model is not an instance of |
|
@@ 5132-5135 (lines=4) @@
|
| 5129 |
|
$this->_entity_map[EEM_Base::$_model_query_blog_id] = array(); |
| 5130 |
|
return true; |
| 5131 |
|
} |
| 5132 |
|
if (isset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id])) { |
| 5133 |
|
unset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id]); |
| 5134 |
|
return true; |
| 5135 |
|
} |
| 5136 |
|
return false; |
| 5137 |
|
} |
| 5138 |
|
|