From 78edbb41d923376e068a60ed59d2bc52b42146c2 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 13 Aug 2009 21:32:31 +0000 Subject: [PATCH] Follow-up r54968: this close() should be redundant now --- includes/LocalisationCache.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/LocalisationCache.php b/includes/LocalisationCache.php index fe22079731..d4dfbc57e3 100644 --- a/includes/LocalisationCache.php +++ b/includes/LocalisationCache.php @@ -839,11 +839,6 @@ class LCStore_CDB implements LCStore { // Close the writer $this->writer->close(); $this->writer = null; - - // Close and remove the reader - if ( !empty( $this->readers[$this->currentLang] ) ) { - $this->readers[$this->currentLang]->close(); - } unset( $this->readers[$this->currentLang] ); $this->currentLang = null; } -- 2.20.1