From 33bea465bdd51fe16077ae8068887bbbfa43db6a Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Mon, 6 May 2013 13:51:00 +0800 Subject: [PATCH] MDL-39470 cache: added missing component to get_string call --- cache/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cache/admin.php b/cache/admin.php index 52b09b33b30..4e0fdf9c187 100644 --- a/cache/admin.php +++ b/cache/admin.php @@ -101,7 +101,7 @@ if (!empty($action) && confirm_sesskey()) { 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 @@ if (!empty($action) && confirm_sesskey()) { $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');