Skip to content

Commit d23a74b

Browse files
authored
Merge pull request #14 from lushonline/13-bug-fix-call-to-externalcontent_set_randomlrscredentials-in-dbinstallphp
13 bug fix call to externalcontent set randomlrscredentials in dbinstallphp
2 parents d92a62f + 6e24a29 commit d23a74b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

db/install.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @copyright 2019-2022 LushOnline
2727
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2828
*/
29+
use mod_externalcontent\plugin;
2930

3031
/**
3132
* xmldb_externalcontent_install
@@ -36,5 +37,5 @@ function xmldb_externalcontent_install() {
3637
// Create the private key.
3738
global $CFG;
3839
require_once($CFG->dirroot.'/mod/externalcontent/locallib.php');
39-
externalcontent_set_randomlrscredentials();
40+
plugin::set_randomlrscredentials();
4041
}

version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
defined('MOODLE_INTERNAL') || die();
2626

27-
$plugin->version = 2022090501;
27+
$plugin->version = 2022090502;
2828
$plugin->requires = 2021051700; // Requires this Moodle version v3.11 see https://docs.moodle.org/dev/Releases.
2929
$plugin->component = 'mod_externalcontent';
3030
$plugin->maturity = MATURITY_STABLE;

0 commit comments

Comments
 (0)