function _subscriptions_bulk_operation in Subscriptions 7
Same name and namespace in other branches
- 6 subscriptions.module \_subscriptions_bulk_operation()
- 2.0.x subscriptions.module.old.php \_subscriptions_bulk_operation()
Callback for bulk subscriptions.
Parameters
$uids array:
$bulk_op string:
1 string reference to '_subscriptions_bulk_operation'
- subscriptions_user_operations in ./
subscriptions.module - Implements hook_user_operations().
File
- ./
subscriptions.module, line 1048 - Subscriptions module.
Code
function _subscriptions_bulk_operation(array $uids, $bulk_op) {
$_SESSION['subscriptions']['bulk_op'] = $bulk_op;
$_SESSION['subscriptions']['uids'] = serialize($uids);
$_SESSION['subscriptions']['back_url'] = current_path();
drupal_goto(SUBSCRIPTIONS_CONFIG_PATH . '/userdefaults/bulk');
}