program/include/rcmail.php | ●●●●● patch | view | raw | blame | history |
program/include/rcmail.php
@@ -453,7 +453,6 @@ } // add to the 'books' array for shutdown function if (!isset($this->address_books[$id])) $this->address_books[$id] = $contacts; return $contacts; @@ -1214,6 +1213,7 @@ $this->smtp->disconnect(); foreach ($this->address_books as $book) { console('---------------'); if (is_object($book) && is_a($book, 'rcube_addressbook')) $book->close(); }