Merge branch 'MDL-83209-main' of https://github.com/PhMemmel/moodle

This commit is contained in:
Andrew Nicols
2024-09-20 09:47:10 +08:00
+3 -1
View File
@@ -16,6 +16,8 @@
namespace core_cache;
use cache_ttl_wrapper;
use core\lang_string;
use core_cache\administration_helper;
use core\exception\coding_exception;
use DirectoryIterator;
@@ -777,7 +779,7 @@ class helper {
}
}
if ($todelete) {
$outcome = (int) store->delete_many($todelete);
$outcome = (int) $store->delete_many($todelete);
if ($output) {
$strdef = s($definition->get_id());
$strstore = s($store->my_name());