Rename the function to reset the cache

This commit is contained in:
Valentin Popov committed 2018-02-19 13:15:14 +04:00
1 parent a1099245b5
commit 95c4cf061a
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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();
}