Code Duplication    Length = 3-4 lines in 2 locations

core/db_models/EEM_Base.model.php 2 locations

@@ 1962-1964 (lines=3) @@
1959
        ) {
1960
            $ids_for_removal = $columns_and_ids_for_deleting[$this->get_primary_key_field()->get_qualified_column()];
1961
            foreach ($ids_for_removal as $id) {
1962
                if (isset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id])) {
1963
                    unset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id]);
1964
                }
1965
            }
1966
        }
1967
        /**
@@ 5022-5025 (lines=4) @@
5019
            $this->_entity_map[EEM_Base::$_model_query_blog_id] = array();
5020
            return true;
5021
        }
5022
        if (isset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id])) {
5023
            unset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id]);
5024
            return true;
5025
        }
5026
        return false;
5027
    }
5028