clustering/dfs/ezpostsgresqlbackend.php
public function _delete( $filePath, $insideOfTransaction = false, $fname = false )
    {
        if ( $fname )
            $fname .= "::_delete($filePath)";
        else
            $fname = "_delete($filePath)";
        // @todo Check if this is required: _protect will already take care of
        //       checking if a transaction is running. But leave it like this
        //       for now.
        if ( $insideOfTransaction )
        {
            return $this->_deleteInner( $filePath, $fname );

        }
        else
        {
            return $this->_protect( array( $this, '_deleteInner' ), $fname,
                                    $filePath, $insideOfTransaction, $fname );
        }
    }
public function _delete( $filePath, $insideOfTransaction = false, $fname = false )
    {
        if ( $fname )
            $fname .= "::_delete($filePath)";
        else
            $fname = "_delete($filePath)";
        // @todo Check if this is required: _protect will already take care of
        //       checking if a transaction is running. But leave it like this
        //       for now.
        if ( $insideOfTransaction )
        {
            return $this->_deleteInner( $filePath, $fname );

        }
        else
        {
            return $this->_protect( array( $this, '_deleteInner' ), $fname,
                                    $filePath, $insideOfTransaction, $fname );
        }
    }
public function _delete ( $ filePath , $ insideOfTransaction = false , $ fname = false ) { if ( $ fname ) $ fname .= "::_delete($filePath)" ; else $ fname = "_delete($filePath)" ; // @todo Check if this is required: _protect will already take care of //       checking if a transaction is running. But leave it like this //       for now. if ( $ insideOfTransaction ) { return $ this -> _deleteInner ( $ filePath , $ fname ) ; } else { return $ this -> _protect ( array ( $ this , '_deleteInner' ) , $ fname , $ filePath , $ insideOfTransaction , $ fname ) ; } }
Deletes a file from DB
The file won't be removed from disk, _purge has to be used for this.
Only single files will be deleted, to delete multiple files,
_deleteByLike has to be used.

@see eZDFSFileHandler::fileDelete
@see eZDFSFileHandler::delete
@see _deleteInner
@see _deleteByLike

@param string $filePath Path of the file to delete
@param bool $insideOfTransaction
Wether or not a transaction is already started
@param bool|string $fname Optional caller name for debugging

@return bool
Deletes a file from DB The file won t be removed from disk _purge has to be used for this . Only single files will be deleted to delete multiple files _deleteByLike has to be used .