You are here

function restful_user_update in RESTful 7

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

Implements hook_user_update().

File

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

Code

function restful_user_update(&$edit, $account, $category) {

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