From 57a4744f013bf54f29d69d12a07f46df3f0872b6 Mon Sep 17 00:00:00 2001 From: Nicolae Grigoriu Date: Wed, 5 Jul 2017 14:42:30 +0300 Subject: [PATCH] DBC-1247 - Implement clear cache. --- includes/fbs.user.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/includes/fbs.user.inc b/includes/fbs.user.inc index da28371..6be47a4 100644 --- a/includes/fbs.user.inc +++ b/includes/fbs.user.inc @@ -179,3 +179,14 @@ function fbs_user_create($cpr, $pin_code, $name, $mail, $branch_id) { throw $exception; } } +/** + * Implements clear_cache(). + * + * This hook is only called from ding_dibs after a payment have been accepted. + * + * @param object $account + * Drupal user account object. + */ +function fbs_user_clear_cache($account) { + // As the FBS currently only uses a static cache for debt... do nothing. +}