Browse Source

Merge pull request #78 from andil-elearning/71

fix #71: allow to tweak role manually
SABERES_37_STABLE
Flotter Totte 7 years ago
committed by GitHub
parent
commit
9801d1d1eb
  1. 4
      lib.php

4
lib.php

@ -41,6 +41,10 @@ class enrol_apply_plugin extends enrol_plugin {
// Users with unenrol cap may unenrol other users manually.
return true;
}
public function roles_protected() {
// Users may tweak the roles later.
return false;
}
/**
* Prevent to unenrol an user with a pending application
*

Loading…
Cancel
Save