From 4f2b9a4feda097af7599dc22633163fd116b906f Mon Sep 17 00:00:00 2001 From: jerome Date: Wed, 3 Sep 2008 09:53:35 +0000 Subject: [PATCH] MDL-15402: change repository_cache_expire common option default to 120 (minutes) --- admin/settings/plugins.php | 6 +++--- lang/en_utf8/repository.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/settings/plugins.php b/admin/settings/plugins.php index ae43b07bf8702..622edc725f893 100644 --- a/admin/settings/plugins.php +++ b/admin/settings/plugins.php @@ -186,10 +186,10 @@ $temp->add(new admin_setting_heading('managerepositories', get_string('activerepository', 'repository'), '')); $temp->add(new admin_setting_managerepository()); $temp->add(new admin_setting_heading('managerepositoriescommonheading', get_string('commonsettings', 'admin'), '')); - $temp->add(new admin_setting_configtext('repository_cache_expire', get_string('cacheexpire', 'repository'), get_string('configcacheexpire', 'repository'), 0)); + $temp->add(new admin_setting_configtext('repository_cache_expire', get_string('cacheexpire', 'repository'), get_string('configcacheexpire', 'repository'), 120)); $ADMIN->add('repositorysettings', $temp); - $ADMIN->add('repositorysettings', new admin_externalpage('repositorynew', - get_string('createrepository', 'repository'), $url, 'moodle/site:config', true), + $ADMIN->add('repositorysettings', new admin_externalpage('repositorynew', + get_string('createrepository', 'repository'), $url, 'moodle/site:config', true), '', $url); $ADMIN->add('repositorysettings', new admin_externalpage('repositorydelete', get_string('deleterepository', 'repository'), $url, 'moodle/site:config', true), diff --git a/lang/en_utf8/repository.php b/lang/en_utf8/repository.php index e80b1e04b6996..20e7d75236c09 100644 --- a/lang/en_utf8/repository.php +++ b/lang/en_utf8/repository.php @@ -8,7 +8,7 @@ $string['cacheexpire'] = 'Cache expire'; $string['close'] = 'Close'; $string['copying'] = 'Copying'; -$string['configcacheexpire'] = 'Configurate the cache expired time.'; +$string['configcacheexpire'] = 'Configurate the cache expired time (in minutes).'; $string['configsaved'] = 'Configuration saved!'; $string['confirmdelete'] = 'Are you sure you want to delete this repository - $a?'; $string['confirmremove'] = 'Are you sure you want to remove this repository plugin - $a?';