r111551 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111550‎ | r111551 | r111552 >
Date:16:04, 15 February 2012
Author:platonides
Status:reverted
Tags:
Comment:
Follow-up r111468, there were some changes left.
Modified paths:
  • /trunk/phase3/includes/DBDataObject.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DBDataObject.php
@@ -553,8 +553,8 @@
554554 __METHOD__
555555 );
556556
557 - if ( $success && static::hasField( $field ) ) {
558 - static::setField( $field, static::getField( $field ) + $amount );
 557+ if ( $success && $this->hasField( $field ) ) {
 558+ $this->setField( $field, $this->getField( $field ) + $amount );
559559 }
560560
561561 return $success;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111468follow up to r111264; split up class into one representing a table and one re...jeroendedauw18:11, 14 February 2012

Status & tagging log