You are here

function blockcache_alter_user in Block Cache Alter 6

Implementation of hook_user().

File

./blockcache_alter.module, line 355
Block Cache alter.

Code

function blockcache_alter_user($op) {
  switch ($op) {
    case 'insert':
    case 'update':
    case 'delete':
      _blockcache_alter_cleanup('user', 'user_actions');
      break;
    case 'login':
    case 'logout':
      _blockcache_alter_cleanup('login', 'user_actions');
      break;
  }
}