r112126 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112125‎ | r112126 | r112127 >
Date:18:18, 22 February 2012
Author:jeroendedauw
Status:reverted
Tags:
Comment:
quick fix
Modified paths:
  • /trunk/extensions/EducationProgram/includes/EPRoleObject.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/includes/EPRoleObject.php
@@ -142,7 +142,7 @@
143143 foreach ( $courses as /* EPCourse */ $course ) {
144144 $courseIds[] = $course->getId();
145145 $course->setUpdateSummaries( false );
146 - $success = $course->enlistUsers( $this->getField( 'user_id' ), $this->getRoleName() ) && $success;
 146+ $success = $course->enlistUsers( $this->loadAndGetField( 'user_id' ), $this->getRoleName() ) && $success;
147147 $course->setUpdateSummaries( true );
148148 }
149149

Follow-up revisions

RevisionCommit summaryAuthorDate
r112212fix issue not correctly fixed by r112126jeroendedauw16:04, 23 February 2012

Status & tagging log