Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-61242 repository_equella: Fix missing class repository
The call to the class 'repository' introduced in the commit d05c2ac
didn't fully work and threw: "Exception - Class 'repository' not found".
This fixes the missing library inclusion.
  • Loading branch information
mudrd8mz authored and stronk7 committed Jan 31, 2018
1 parent 2e6ffa6 commit 749bdfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repository/equella/callback.php
Expand Up @@ -23,6 +23,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
require(__DIR__.'/../../config.php');
require_once($CFG->dirroot . '/repository/lib.php');

$json = required_param('tlelinks', PARAM_RAW);

require_login();
Expand Down

0 comments on commit 749bdfe

Please sign in to comment.