kernel/classes/clusterfilehandlers/ezfsfilehandler.php
function fileDeleteByDirList( $dirList, $commonPath, $commonSuffix )
    {
        eZDebugSetting::writeDebug( 'kernel-clustering', "fs::fileDeleteByDirList( '" . implode( ",", $dirList ) . "', '$commonPath', '$commonSuffix' )", __METHOD__ );

        eZDebug::accumulatorStart( 'dbfile', false, 'dbfile' );

        foreach ( $dirList as $dir )
        {
            $unlinkArray = eZSys::globBrace( "$commonPath/$dir/$commonSuffix*" );
            if ( $unlinkArray !== false )
            {
                array_map( 'unlink', $unlinkArray );
            }
        }

        eZDebug::accumulatorStop( 'dbfile' );
    }
function fileDeleteByDirList( $dirList, $commonPath, $commonSuffix )
    {
        eZDebugSetting::writeDebug( 'kernel-clustering', "fs::fileDeleteByDirList( '" . implode( ",", $dirList ) . "', '$commonPath', '$commonSuffix' )", __METHOD__ );

        eZDebug::accumulatorStart( 'dbfile', false, 'dbfile' );

        foreach ( $dirList as $dir )
        {
            $unlinkArray = eZSys::globBrace( "$commonPath/$dir/$commonSuffix*" );
            if ( $unlinkArray !== false )
            {
                array_map( 'unlink', $unlinkArray );
            }
        }

        eZDebug::accumulatorStop( 'dbfile' );
    }
function fileDeleteByDirList ( $ dirList , $ commonPath , $ commonSuffix ) { eZDebugSetting :: writeDebug ( 'kernel-clustering' , "fs::fileDeleteByDirList( '" . implode ( "," , $ dirList ) . "', '$commonPath', '$commonSuffix' )" , __METHOD__ ) ; eZDebug :: accumulatorStart ( 'dbfile' , false , 'dbfile' ) ; foreach ( $ dirList as $ dir ) { $ unlinkArray = eZSys :: globBrace ( "$commonPath/$dir/$commonSuffix*" ) ; if ( $ unlinkArray !== false ) { array_map ( 'unlink' , $ unlinkArray ) ; } } eZDebug :: accumulatorStop ( 'dbfile' ) ; }
Delete files located in a directories from dirList, with common prefix specified by
commonPath, and common suffix with added wildcard at the end

\public
\static
Delete files located in a directories from dirList with common prefix specified by commonPath and common suffix with added wildcard at the end