roundcubemail/program/lib/Roundcube/rcube_result_multifolder.php
protected function append_result($result)
    {
        $this->meta['count'] += $result->count();

        // append UIDs to global index
        $folder = $result->get_parameters('MAILBOX');
        $index  = array_map(function($uid) use ($folder) { return $uid . '-' . $folder; }, $result->get());

        $this->index = array_merge($this->index, $index);
    }
protected function append_result($result)
    {
        $this->meta['count'] += $result->count();

        // append UIDs to global index
        $folder = $result->get_parameters('MAILBOX');
        $index  = array_map(function($uid) use ($folder) { return $uid . '-' . $folder; }, $result->get());

        $this->index = array_merge($this->index, $index);
    }
protected function append_result ( $ result ) { $ this -> meta [ 'count' ] += $ result -> count ( ) ; // append UIDs to global index $ folder = $ result -> get_parameters ( 'MAILBOX' ) ; $ index = array_map ( function ( $ uid ) use ( $ folder ) { return $ uid . '-' . $ folder ; } , $ result -> get ( ) ) ; $ this -> index = array_merge ( $ this -> index , $ index ) ; }
Append message UIDs from the given result to our index
Append message UIDs from the given result to our index