mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-39312 Cache lock plugins - fix undefined var and language typo
This commit is contained in:
parent
a6b274b232
commit
25927c42ce
2
cache/locallib.php
vendored
2
cache/locallib.php
vendored
@ -936,7 +936,7 @@ abstract class cache_administration_helper extends cache_helper {
|
||||
$url = new moodle_url('/cache/admin.php', array('action' => 'editstore', 'plugin' => $plugin, 'store' => $store));
|
||||
$editform = new $class($url, array('plugin' => $plugin, 'store' => $store, 'locks' => $locks));
|
||||
if (isset($stores[$store]['lock'])) {
|
||||
$editform->set_data(array('lock' => $lock));
|
||||
$editform->set_data(array('lock' => $stores[$store]['lock']));
|
||||
}
|
||||
// See if the cachestore is going to want to load data for the form.
|
||||
// If it has a customised add instance form then it is going to want to.
|
||||
|
@ -98,7 +98,7 @@ $string['lockingmeans'] = 'Locking mechanism';
|
||||
$string['lockmethod'] = 'Lock method';
|
||||
$string['lockmethod_help'] = 'This is the method used for locking when required of this store.';
|
||||
$string['lockname'] = 'Name';
|
||||
$string['locknamedesc'] = 'The name must be unique and can on consist of the characters: a-zA-Z_';
|
||||
$string['locknamedesc'] = 'The name must be unique and can only consist of the characters: a-zA-Z_';
|
||||
$string['locknamenotunique'] = 'The name you have selected is not unique. Please select a unique name.';
|
||||
$string['locksummary'] = 'Summary of cache lock instances.';
|
||||
$string['locktype'] = 'Type';
|
||||
|
Loading…
x
Reference in New Issue
Block a user