roundcubemail/program/lib/Roundcube/rcube_imap_generic.php
public function deleteFolder($mailbox)
    {
        $result = $this->execute('DELETE', array($this->escape($mailbox)),
            self::COMMAND_NORESPONSE);

        return $result == self::ERROR_OK;
    }
public function deleteFolder($mailbox)
    {
        $result = $this->execute('DELETE', array($this->escape($mailbox)),
            self::COMMAND_NORESPONSE);

        return $result == self::ERROR_OK;
    }
public function deleteFolder ( $ mailbox ) { $ result = $ this -> execute ( 'DELETE' , array ( $ this -> escape ( $ mailbox ) ) , self :: COMMAND_NORESPONSE ) ; return $ result == self :: ERROR_OK ; }
Executes DELETE command

@param string $mailbox Mailbox name

@return boolean True on success, False on error
Executes DELETE command