From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/Cdb.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/Cdb.php') diff --git a/includes/Cdb.php b/includes/Cdb.php index ae2e5b18..a142c7cb 100644 --- a/includes/Cdb.php +++ b/includes/Cdb.php @@ -133,8 +133,9 @@ class CdbReader_DBA { } function close() { - if( isset($this->handle) ) + if( isset( $this->handle ) ) { dba_close( $this->handle ); + } unset( $this->handle ); } @@ -143,7 +144,6 @@ class CdbReader_DBA { } } - /** * Writer class which uses the DBA extension */ @@ -164,8 +164,9 @@ class CdbWriter_DBA { } function close() { - if( isset($this->handle) ) + if( isset( $this->handle ) ) { dba_close( $this->handle ); + } if ( wfIsWindows() ) { unlink( $this->realFileName ); } @@ -181,4 +182,3 @@ class CdbWriter_DBA { } } } - -- cgit v1.2.3-54-g00ecf