diff --git a/admin/settings/development.php b/admin/settings/development.php index 207296a792a..baf6609e805 100644 --- a/admin/settings/development.php +++ b/admin/settings/development.php @@ -33,6 +33,11 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page new lang_string('enablecourserelativedates', 'core_admin'), new lang_string('enablecourserelativedates_desc', 'core_admin'), 0)); + // Sharing to MoodleNet setting. + $temp->add(new admin_setting_configcheckbox('enablesharingtomoodlenet', + new lang_string('enablesharingtomoodlenet', 'core_admin'), + '', 0)); + $ADMIN->add('experimental', $temp); // "debugging" settingpage diff --git a/lang/en/admin.php b/lang/en/admin.php index 229a26982ca..a3c0842f548 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -607,6 +607,7 @@ $string['enableplugin'] = 'Enable the {$a} plugin'; $string['enablerecordcache'] = 'Enable record cache'; $string['enablerssfeeds'] = 'Enable RSS feeds'; $string['enablesearchareas'] = 'Enable search areas'; +$string['enablesharingtomoodlenet'] = 'Enable sharing to MoodleNet'; $string['enablestats'] = 'Enable statistics'; $string['enabletrusttext'] = 'Enable trusted content'; $string['enableuserfeedback'] = 'Enable feedback about this software';