You are here

function _subscriptions_bulk_operation in Subscriptions 2.0.x

Same name and namespace in other branches
  1. 6 subscriptions.module \_subscriptions_bulk_operation()
  2. 7 subscriptions.module \_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.old.php
Implements hook_user_operations().

File

./subscriptions.module.old.php, 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');
}