fix some spacing
[lhc/web/wiklou.git] / includes / Cdb.php
index ae2e5b1..a142c7c 100644 (file)
@@ -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 {
                }
        }
 }
-