Aleksander Machniak
2013-01-25 7f693b65655eb905043d39bb53590b6c92b1f99c
Send LOGOUT only when closing connection in logged state (#1487784)
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_imap_generic.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap_generic.php
@@ -906,7 +906,7 @@
     */
    function closeConnection()
    {
        if ($this->putLine($this->nextTag() . ' LOGOUT')) {
        if ($this->logged && $this->putLine($this->nextTag() . ' LOGOUT')) {
            $this->readReply();
        }