Skip to content

Commit

Permalink
MDL-15402: change repository_cache_expire common option default to 12…
Browse files Browse the repository at this point in the history
…0 (minutes)
  • Loading branch information
jerome committed Sep 3, 2008
1 parent 5a8ca18 commit 4f2b9a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions admin/settings/plugins.php
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion lang/en_utf8/repository.php
Expand Up @@ -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?';
Expand Down

0 comments on commit 4f2b9a4

Please sign in to comment.