Permalink
Browse files

Revert "MDL-xxxx show appropriate instance status on user enrolments …

…page"

This was incorrectly integrated

This reverts commit 0431cc0.
  • Loading branch information...
1 parent fdd6de9 commit 8b9929247e03a840f20b9d1cfd3cc325bc33b82a @danpoltawski danpoltawski committed Jan 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/locallib.php
View
@@ -867,7 +867,7 @@ public function get_users_for_display(course_enrolment_manager $manager, $sort,
$details['enrolments'][$ue->id] = array(
'text' => $ue->enrolmentinstancename,
'period' => $period,
- 'dimmed' => ($periodoutside or $ue->status != ENROL_USER_ACTIVE or $ue->enrolmentinstance->status != ENROL_INSTANCE_ENABLED),
+ 'dimmed' => ($periodoutside || $ue->status != ENROL_USER_ACTIVE),
'actions' => $ue->enrolmentplugin->get_user_enrolment_actions($manager, $ue)
);
}

0 comments on commit 8b99292

Please sign in to comment.