Skip to content

Commit

Permalink
Fix wrong plugin config name
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastsg committed Apr 3, 2018
1 parent a34207b commit 36a1f61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes/bank/jazzquiz_disabled_condition.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class jazzquiz_disabled_condition extends condition {
public function __construct($hide = true) {
global $DB;

$config = get_config('jazzquiz');
$config = get_config('mod_jazzquiz');
$enabledqtypes = explode(',', $config->enabledqtypes);
list($sql, $params) = $DB->get_in_or_equal($enabledqtypes, SQL_PARAMS_NAMED, 'aqdc');

Expand Down
2 changes: 1 addition & 1 deletion classes/bank/jazzquiz_question_bank_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private function create_new_question_button($categoryid, $params, $caption, $too
global $OUTPUT;
static $choiceformprinted = false;

$config = get_config('jazzquiz');
$config = get_config('mod_jazzquiz');
$enabledqtypes = explode(',', $config->enabledqtypes);

$params['category'] = $categoryid;
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

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

$plugin->version = 2018032802; // The current module version (Date: YYYYMMDDXX)
$plugin->version = 2018040300; // The current module version (Date: YYYYMMDDXX)
$plugin->requires = 2016052304; // Moodle 3.1 (or above)
$plugin->cron = 0; // Period in seconds for cron to run.
$plugin->component = 'mod_jazzquiz';
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '0.6.0 (Build: 2018032802)';
$plugin->release = '0.6.1 (Build: 2018040300)';

0 comments on commit 36a1f61

Please sign in to comment.