Skip to content

Commit d9b094a

Browse files
committed
Merge branch 'MDL-58273-master-ldapenrol' of git://github.com/mudrd8mz/moodle
2 parents 2ddcf27 + 935f428 commit d9b094a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enrol/ldap/lib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function can_delete_instance($instance) {
132132
*/
133133
public function can_hide_show_instance($instance) {
134134
$context = context_course::instance($instance->courseid);
135-
return has_capability('enrol/ldap:config', $context);
135+
return has_capability('enrol/ldap:manage', $context);
136136
}
137137

138138
/**

0 commit comments

Comments
 (0)