Code Duplication    Length = 3-4 lines in 2 locations

core/db_models/EEM_Base.model.php 2 locations

@@ 1921-1923 (lines=3) @@
1918
        if ($this->has_primary_key_field()) {
1919
            foreach ($items_for_deletion as $item_for_deletion_row) {
1920
                $pk_value = $item_for_deletion_row[$this->get_primary_key_field()->get_qualified_column()];
1921
                if (isset($this->_entity_map[EEM_Base::$_model_query_blog_id][$pk_value])) {
1922
                    unset($this->_entity_map[EEM_Base::$_model_query_blog_id][$pk_value]);
1923
                }
1924
            }
1925
        }
1926
        /**
@@ 4983-4986 (lines=4) @@
4980
            $this->_entity_map[EEM_Base::$_model_query_blog_id] = array();
4981
            return true;
4982
        }
4983
        if (isset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id])) {
4984
            unset($this->_entity_map[EEM_Base::$_model_query_blog_id][$id]);
4985
            return true;
4986
        }
4987
        return false;
4988
    }
4989