Skip to content

Commit

Permalink
Merge pull request #14 from lushonline/13-bug-fix-call-to-externalcon…
Browse files Browse the repository at this point in the history
…tent_set_randomlrscredentials-in-dbinstallphp

13 bug fix call to externalcontent set randomlrscredentials in dbinstallphp
  • Loading branch information
lushonline authored Sep 13, 2022
2 parents d92a62f + 6e24a29 commit d23a74b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion db/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @copyright 2019-2022 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
use mod_externalcontent\plugin;

/**
* xmldb_externalcontent_install
Expand All @@ -36,5 +37,5 @@ function xmldb_externalcontent_install() {
// Create the private key.
global $CFG;
require_once($CFG->dirroot.'/mod/externalcontent/locallib.php');
externalcontent_set_randomlrscredentials();
plugin::set_randomlrscredentials();
}
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

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

0 comments on commit d23a74b

Please sign in to comment.