Skip to content

Commit

Permalink
Merge pull request #18 from stopfstedt/refactor_out__ilios_api_client
Browse files Browse the repository at this point in the history
Refactor out  ilios api client
  • Loading branch information
ctam authored Oct 11, 2017
2 parents 008027c + 7ab4612 commit 56084c4
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 351 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ A Moodle Enrollment plugin for the Ilios Curriculum Management system.

# Installation

## Prerequisites

This plugin has a dependency on the [Ilios API client plugin](https://github.com/ilios/local_iliosapiclient).
Please install that plugin first, see its README file for instructions.

## Install with git
* use a command line interface of your choice on the destination system (server with moodle installation)
* switch to the moodle enrol folder: `cd /path/to/moodle/enrol/`
Expand Down
2 changes: 1 addition & 1 deletion edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function definition() {
if ($synctype == 'learnerGroup') {
$instance->learnergroupid = $syncid;
if (!empty($instance->customint2)) {
$group = $http->getGroupData('learnerGroup', $instance->learnergroupid);
$group = $enrol->getGroupData('learnerGroup', $instance->learnergroupid);
} else {
$group = $http->getbyid('learnerGroups', $instance->learnergroupid);
}
Expand Down
Loading

0 comments on commit 56084c4

Please sign in to comment.