r113602 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113601‎ | r113602 | r113603 >
Date:00:05, 12 March 2012
Author:reedy
Status:new
Tags:
Comment:
Update code to match changes in r112598
Modified paths:
  • /trunk/extensions/MSSQLBackCompat/DatabaseMssqlOld.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MSSQLBackCompat/DatabaseMssqlOld.php
@@ -131,12 +131,9 @@
132132 /**
133133 * Close an MSSQL database
134134 */
135 - function close() {
136 - $this->mOpened = false;
137 - if ($this->mConn) {
138 - if ($this->trxLevel()) $this->commit();
139 - return mssql_close($this->mConn);
140 - } else return true;
 135+ function closeConnection() {
 136+ if ($this->trxLevel()) $this->commit();
 137+ return mssql_close($this->mConn);
141138 }
142139
143140 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112598Follow-up r112565: fix code duplicationmaxsem14:42, 28 February 2012

Status & tagging log