You are here

function flag_users in Flag 6.2

Same name and namespace in other branches
  1. 7.3 flag.module \flag_users()
  2. 7.2 flag.module \flag_users()

Callback function for hook_user_operations().

1 string reference to 'flag_users'
flag_user_operations in ./flag.module
Implementation of hook_user_operations().

File

./flag.module, line 1004
The Flag module.

Code

function flag_users($users, $action, $flag_name) {
  foreach ($users as $uid) {
    flag($action, $flag_name, $uid);
  }
}