r112560 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112559‎ | r112560 | r112561 >
Date:01:42, 28 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r112559; only revert fields that should be reverted...
Modified paths:
  • /trunk/extensions/EducationProgram/actions/EPRestoreAction.php (modified) (history)
  • /trunk/extensions/EducationProgram/includes/EPRevisionedObject.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/actions/EPRestoreAction.php
@@ -209,4 +209,4 @@
210210 );
211211 }
212212
213 -}
\ No newline at end of file
 213+}
Index: trunk/extensions/EducationProgram/includes/EPRevisionedObject.php
@@ -325,7 +325,7 @@
326326 */
327327 public function restoreToRevisionId( $revId, array $fields = null ) {
328328 $revision = $this->getRevisionById( $revId );
329 - return $revision === false ? false : $this->restoreToRevision( $revision );
 329+ return $revision === false ? false : $this->restoreToRevision( $revision, $fields );
330330 }
331331
332332 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112559implemeted restore functionality, still needs much UI work thoughjeroendedauw01:38, 28 February 2012

Status & tagging log