You are here

function restful_user_delete in RESTful 7

Same name and namespace in other branches
  1. 7.2 restful.entity.inc \restful_user_delete()

Implements hook_user_delete().

File

./restful.entity.inc, line 64
Contains entity related code.

Code

function restful_user_delete($account) {

  // Due to the limitations for cid matching on clearing caches, we need to
  // clear all the bin. We cannot do $cid = '%::uu' . $account->uid . '::pa';
  \RestfulManager::invalidateEntityCache('*');
}