Rename the function to reset the cache

This commit is contained in:
2018-02-19 13:15:14 +04:00
parent a1099245b5
commit 95c4cf061a
2 changed files with 5 additions and 5 deletions

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();
}