X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCdb.php;h=81c0afe171f06d892fd2a34c6beb0501345b12c5;hb=8fe0cf970401f2796ca39165a2d0a311b551c47a;hp=2a6a3d2d4109850717c879341a52c68d22eccc92;hpb=14cfa932020cf6b4f0ccfba5b2a4c76194a95af9;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 { } } } -