X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCdb.php;h=81c0afe171f06d892fd2a34c6beb0501345b12c5;hb=f7c5ef1307141bdd9bdcc96496fd61ab269e65be;hp=2a6a3d2d4109850717c879341a52c68d22eccc92;hpb=87f5596f5e9bd7f849ded2d673b8f4101595389d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Cdb.php b/includes/Cdb.php index 2a6a3d2d41..81c0afe171 100644 --- a/includes/Cdb.php +++ b/includes/Cdb.php @@ -133,7 +133,7 @@ class CdbReader_DBA { } function close() { - if( isset($this->handle) ) { + if ( isset( $this->handle ) ) { dba_close( $this->handle ); } unset( $this->handle ); @@ -144,7 +144,6 @@ class CdbReader_DBA { } } - /** * Writer class which uses the DBA extension */ @@ -165,7 +164,7 @@ class CdbWriter_DBA { } function close() { - if( isset($this->handle) ) { + if ( isset( $this->handle ) ) { dba_close( $this->handle ); } if ( wfIsWindows() ) { @@ -183,4 +182,3 @@ class CdbWriter_DBA { } } } -