summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index f37186c0e..396106e42 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1160,8 +1160,6 @@ class rcmail
$this->smtp->disconnect();
foreach ($this->address_books as $book) {
- if (!is_object($book)) // maybe an address book instance wasn't fetched using get_address_book() yet
- $book = $this->get_address_book($book['id']);
if (is_a($book, 'rcube_addressbook'))
$book->close();
}