MDL-61242 repository_equella: Fix missing class repository

The call to the class 'repository' introduced in the commit d05c2ac7cc
didn't fully work and threw: "Exception - Class 'repository' not found".
This fixes the missing library inclusion.
This commit is contained in:
David Mudrák
2018-02-01 10:34:39 +08:00
committed by Jake Dallimore
parent 3111b937ef
commit 1ac64fbe83
+2
View File
@@ -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();