From: Aaron Schulz Date: Thu, 13 Aug 2009 21:32:31 +0000 (+0000) Subject: Follow-up r54968: this close() should be redundant now X-Git-Tag: 1.31.0-rc.0~40320 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=78edbb41d923376e068a60ed59d2bc52b42146c2;p=lhc%2Fweb%2Fwiklou.git Follow-up r54968: this close() should be redundant now --- 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; }