Skip to content

Commit

Permalink
MDL-68111 core: add 'enablemoodlenet' setting to advanced features
Browse files Browse the repository at this point in the history
This will control whether any MoodleNet features are presented to users
  • Loading branch information
snake committed Mar 23, 2020
1 parent f2fc4a9 commit 23ea244
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions admin/settings/subsystems.php
Expand Up @@ -74,4 +74,7 @@
new lang_string('configallowemojipickerincompatible', 'admin')
));
}

$optionalsubsystems->add(new admin_setting_configcheckbox('enablemoodlenet', new lang_string('enablemoodlenet', 'admin'),
new lang_string('enablemoodlenet_desc', 'admin'), 1, 1, 0));
}
2 changes: 2 additions & 0 deletions lang/en/admin.php
Expand Up @@ -538,6 +538,8 @@
$string['enablegravatar'] = 'Enable Gravatar';
$string['enablegravatar_help'] = 'When enabled Moodle will attempt to fetch a user profile picture from Gravatar if the user has not uploaded an image.';
$string['enablemobilewebservice'] = 'Enable web services for mobile devices';
$string['enablemoodlenet'] = 'Enable integration with MoodleNet instances';
$string['enablemoodlenet_desc'] = 'If enabled, and provided the MoodleNet plugin is installed, users can import content from MoodleNet into this site.';
$string['enablerecordcache'] = 'Enable record cache';
$string['enablerssfeeds'] = 'Enable RSS feeds';
$string['enablesafebrowserintegration'] = 'Enable Safe Exam Browser integration';
Expand Down
2 changes: 1 addition & 1 deletion version.php
Expand Up @@ -29,7 +29,7 @@

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

$version = 2020032000.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2020032000.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '3.9dev (Build: 20200320)'; // Human-friendly version name
Expand Down

0 comments on commit 23ea244

Please sign in to comment.