X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCdb.php;h=2a6a3d2d4109850717c879341a52c68d22eccc92;hb=c2b3c1cf671d360910b6234da481c230bbe2a730;hp=ae2e5b18ae3b10e6f08b61dfb51c1c55e04d2f2e;hpb=00d3dfe57a5510e46690dbf8cc06774d5c6510fb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Cdb.php b/includes/Cdb.php index ae2e5b18ae..2a6a3d2d41 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 ); } @@ -164,8 +165,9 @@ class CdbWriter_DBA { } function close() { - if( isset($this->handle) ) + if( isset($this->handle) ) { dba_close( $this->handle ); + } if ( wfIsWindows() ) { unlink( $this->realFileName ); }