static function removeById( $attributeId, $version = null )
    {
        if ( $version !== null )
    	   $conds = array( 'contentobject_attribute_id' => $attributeId, 'contentobject_version' => $version  );
    	else
    	    $conds = array( 'contentobject_attribute_id' => $attributeId );

        eZPersistentObject::removeObject( self::definition(), $conds, null );
    }
static function removeById( $attributeId, $version = null )
    {
        if ( $version !== null )
    	   $conds = array( 'contentobject_attribute_id' => $attributeId, 'contentobject_version' => $version  );
    	else
    	    $conds = array( 'contentobject_attribute_id' => $attributeId );

        eZPersistentObject::removeObject( self::definition(), $conds, null );
    }
static function removeById ( $ attributeId , $ version = null ) { if ( $ version !== null ) $ conds = array ( 'contentobject_attribute_id' => $ attributeId , 'contentobject_version' => $ version ) ; else $ conds = array ( 'contentobject_attribute_id' => $ attributeId ) ; eZPersistentObject :: removeObject ( self :: definition ( ) , $ conds , null ) ; }
Remove a eZGmapLocation object form database.

@param int $attributeId
@param int|null $version (Optional, deletes all versions if null or ommited)
Remove a eZGmapLocation object form database .