Permalink
Browse files

MDL-39470 cache: added missing component to get_string call

  • Loading branch information...
1 parent 95190fd commit 33bea465bdd51fe16077ae8068887bbbfa43db6a @markn86 markn86 committed May 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 cache/admin.php
View
@@ -101,7 +101,7 @@
if (!array_key_exists($store, $stores)) {
$notifysuccess = false;
- $notification = get_string('invalidstore');
+ $notification = get_string('invalidstore', 'cache');
} else if ($stores[$store]['mappings'] > 0) {
$notifysuccess = false;
$notification = get_string('deletestorehasmappings', 'cache');
@@ -203,7 +203,7 @@
$confirm = optional_param('confirm', false, PARAM_BOOL);
if (!array_key_exists($lock, $locks)) {
$notifysuccess = false;
- $notification = get_string('invalidlock');
+ $notification = get_string('invalidlock', 'cache');
} else if ($locks[$lock]['uses'] > 0) {
$notifysuccess = false;
$notification = get_string('deletelockhasuses', 'cache');

0 comments on commit 33bea46

Please sign in to comment.