dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Extend category/p interaction test with indent and template"
[lhc/web/wiklou.git]
/
includes
/
Cdb.php
diff --git
a/includes/Cdb.php
b/includes/Cdb.php
index
ae2e5b1
..
2a6a3d2
100644
(file)
--- a/
includes/Cdb.php
+++ b/
includes/Cdb.php
@@
-133,8
+133,9
@@
class CdbReader_DBA {
}
function close() {
}
function close() {
- if( isset($this->handle) )
+ if( isset($this->handle) )
{
dba_close( $this->handle );
dba_close( $this->handle );
+ }
unset( $this->handle );
}
unset( $this->handle );
}
@@
-164,8
+165,9
@@
class CdbWriter_DBA {
}
function close() {
}
function close() {
- if( isset($this->handle) )
+ if( isset($this->handle) )
{
dba_close( $this->handle );
dba_close( $this->handle );
+ }
if ( wfIsWindows() ) {
unlink( $this->realFileName );
}
if ( wfIsWindows() ) {
unlink( $this->realFileName );
}