aboutsummaryrefslogtreecommitdiff
path: root/locallib.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-02-19 12:15:14 +0300
committerValentin Popov <info@valentineus.link>2018-02-19 12:15:14 +0300
commit95c4cf061ab67f28a12e34c0c7098ef5a73d353a (patch)
tree688b08cc0e3a3f536bd97da93a1ec4a05d25a7a7 /locallib.php
parenta1099245b573a3b2bc9ed4a7260e89813d64e138 (diff)
downloadlocal_webhooks-95c4cf061ab67f28a12e34c0c7098ef5a73d353a.tar.xz
local_webhooks-95c4cf061ab67f28a12e34c0c7098ef5a73d353a.zip
Rename the function to reset the cache
Diffstat (limited to 'locallib.php')
-rw-r--r--locallib.php2
1 files changed, 1 insertions, 1 deletions
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();
}