X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FCdb.php;h=81c0afe171f06d892fd2a34c6beb0501345b12c5;hb=2849d8a6b3542795d230515a600670533adb2692;hp=2a6a3d2d4109850717c879341a52c68d22eccc92;hpb=436405bdc33891846eea7ad854f919771d99dd8e;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 { } } } -