mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-61242 repository_equella: Fix missing class repository
The call to the class 'repository' introduced in the commit d05c2ac7cc78 didn't fully work and threw: "Exception - Class 'repository' not found". This fixes the missing library inclusion.
This commit is contained in:
parent
632293b09a
commit
051857fcb9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user