Merge "Remove recentchanges.rc_cur_time from sql statements"
[lhc/web/wiklou.git] / includes / utils / CdbPHP.php
index 8106243..c178ffe 100644 (file)
@@ -333,7 +333,7 @@ class CdbWriterPHP extends CdbWriter {
                if ( isset( $this->handle ) ) {
                        fclose( $this->handle );
                }
-               if ( wfIsWindows() && file_exists( $this->realFileName ) ) {
+               if ( $this->isWindows() && file_exists( $this->realFileName ) ) {
                        unlink( $this->realFileName );
                }
                if ( !rename( $this->tmpFileName, $this->realFileName ) ) {