Code Duplication    Length = 3-4 lines in 2 locations

core/db_models/EEM_Base.model.php 2 locations

@@ 1702-1704 (lines=3) @@
1699
		if( $this->has_primary_key_field() ){
1700
			foreach($items_for_deletion as $item_for_deletion_row ){
1701
				$pk_value = $item_for_deletion_row[ $this->get_primary_key_field()->get_qualified_column() ];
1702
				if( isset( $this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $pk_value ] ) ){
1703
					unset( $this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $pk_value ] );
1704
				}
1705
			}
1706
		}
1707
@@ 4276-4279 (lines=4) @@
4273
			$this->_entity_map[ EEM_Base::$_model_query_blog_id ] = array();
4274
			return true;
4275
		}
4276
		if ( isset( $this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $id ] ) ) {
4277
			unset( $this->_entity_map[ EEM_Base::$_model_query_blog_id ][ $id ] );
4278
			return true;
4279
		}
4280
		return false;
4281
	}
4282