kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php
public function _deleteByLike( $like, $fname = false )
    {
        if ( $fname )
            $fname .= "::_deleteByLike($like)";
        else
            $fname = "_deleteByLike($like)";
        $return = $this->_protect( array( $this, '_deleteByLikeInner' ), $fname,
                                   $like, $fname );

        if ( $return )
            $this->eventHandler->notify( 'cluster/deleteByLike', array( $like ) );

        return $return;
    }
public function _deleteByLike( $like, $fname = false )
    {
        if ( $fname )
            $fname .= "::_deleteByLike($like)";
        else
            $fname = "_deleteByLike($like)";
        $return = $this->_protect( array( $this, '_deleteByLikeInner' ), $fname,
                                   $like, $fname );

        if ( $return )
            $this->eventHandler->notify( 'cluster/deleteByLike', array( $like ) );

        return $return;
    }
public function _deleteByLike ( $ like , $ fname = false ) { if ( $ fname ) $ fname .= "::_deleteByLike($like)" ; else $ fname = "_deleteByLike($like)" ; $ return = $ this -> _protect ( array ( $ this , '_deleteByLikeInner' ) , $ fname , $ like , $ fname ) ; if ( $ return ) $ this -> eventHandler -> notify ( 'cluster/deleteByLike' , array ( $ like ) ) ; return $ return ; }
Deletes multiple files using a SQL LIKE statement

Use _delete if you need to delete single files

@param string $like
SQL LIKE condition applied to ezdfsfile.name to look for files
to delete. Will use name_trunk if the LIKE string matches a
filetype that supports name_trunk.
@param bool|string $fname Optional caller name for debugging
@return bool
@see _deleteByLikeInner
@see _delete
Deletes multiple files using a SQL LIKE statement