Follow-up r54968: this close() should be redundant now
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 13 Aug 2009 21:32:31 +0000 (21:32 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 13 Aug 2009 21:32:31 +0000 (21:32 +0000)
includes/LocalisationCache.php

index fe22079..d4dfbc5 100644 (file)
@@ -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;
        }