]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15402: change repository_cache_expire common option default to 120 (minutes)
authorjerome <jerome>
Wed, 3 Sep 2008 09:53:35 +0000 (09:53 +0000)
committerjerome <jerome>
Wed, 3 Sep 2008 09:53:35 +0000 (09:53 +0000)
admin/settings/plugins.php
lang/en_utf8/repository.php

index ae43b07bf8702c5f04d13a22dc661fd9c86a8825..622edc725f893c77f4a8c56f19aef3c1e365b41c 100644 (file)
@@ -186,10 +186,10 @@ if ($hassiteconfig) {
     $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),
index e80b1e04b69963d2bdb9c85f1756a4ffc15548b4..20e7d75236c093df26400edaeb03869e513d828e 100644 (file)
@@ -8,7 +8,7 @@ $string['back'] = '&lt; Back';
 $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?';