roundcubemail/program/lib/Roundcube/rcube_imap.php
function threads_direct($folder)
    {
        if (!$this->check_connection()) {
            return new rcube_result_thread();
        }

        // get all threads
        return $this->conn->thread($folder, $this->threading,
            $this->options['skip_deleted'] ? 'UNDELETED' : '', true);
    }
function threads_direct($folder)
    {
        if (!$this->check_connection()) {
            return new rcube_result_thread();
        }

        // get all threads
        return $this->conn->thread($folder, $this->threading,
            $this->options['skip_deleted'] ? 'UNDELETED' : '', true);
    }
function threads_direct ( $ folder ) { if ( ! $ this -> check_connection ( ) ) { return new rcube_result_thread ( ) ; } // get all threads return $ this -> conn -> thread ( $ folder , $ this -> threading , $ this -> options [ 'skip_deleted' ] ? 'UNDELETED' : '' , true ) ; }
Method for direct fetching of threads data

@param string $folder Folder name

@return rcube_imap_thread Thread data object
Method for direct fetching of threads data