From 95c4cf061ab67f28a12e34c0c7098ef5a73d353a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 19 Feb 2018 13:15:14 +0400 Subject: Rename the function to reset the cache --- locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locallib.php') diff --git a/locallib.php b/locallib.php index 54d2bd4..4d941ce 100644 --- a/locallib.php +++ b/locallib.php @@ -63,7 +63,7 @@ function local_webhooks_cache_delete($eventname) { * * @return boolean */ -function local_webhooks_cache_delete_all() { +function local_webhooks_cache_reset() { $cache = cache::make("local_webhooks", "webhooks_services"); return $cache->purge(); } -- cgit v1.2.3