From 6eca9e1c63a6f59fd1726f79cee7d9ba57031f33 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 11 Jul 2011 15:42:53 +1200 Subject: [PATCH] MDL-28017 SCORM - remove admin setting incorrectly added as it was never used. --- mod/scorm/lang/en/scorm.php | 1 - mod/scorm/settings.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/mod/scorm/lang/en/scorm.php b/mod/scorm/lang/en/scorm.php index 99fd49f6ee629..04baa6711bab7 100644 --- a/mod/scorm/lang/en/scorm.php +++ b/mod/scorm/lang/en/scorm.php @@ -270,7 +270,6 @@ $string['unziperror'] = 'An error occurs during package unzip'; $string['updatefreq'] = 'Auto-update frequency'; $string['updatefreqdesc'] = 'This preference sets the default auto-update frequency of an activity'; -$string['updatetime'] = 'Synchronisation time'; $string['validateascorm'] = 'Validate a package'; $string['validation'] = 'Validation result'; $string['validationtype'] = 'This preference set the DOMXML library used for validating SCORM Manifest. If you don\'t know leave the selected choice.'; diff --git a/mod/scorm/settings.php b/mod/scorm/settings.php index d95e29e86ef89..729431dc06ff1 100644 --- a/mod/scorm/settings.php +++ b/mod/scorm/settings.php @@ -64,8 +64,6 @@ $settings->add(new admin_setting_configselect('scorm/updatefreq', get_string('updatefreq', 'scorm'), get_string('updatefreqdesc', 'scorm'), 0, scorm_get_updatefreq_array())); - $settings->add(new admin_setting_configtext('scorm/updatetime', get_string('updatetime', 'scorm'), '', 2, PARAM_INT)); - $settings->add(new admin_setting_configcheckbox('scorm/allowtypeexternal', get_string('allowtypeexternal', 'scorm'), '', 0)); $settings->add(new admin_setting_configcheckbox('scorm/allowtypelocalsync', get_string('allowtypelocalsync', 'scorm'), '', 0));