"group", "guids" => $group_guids, "limit" => false ); $batch = new ElggBatch("elgg_get_entities", $options, "elgg_batch_delete_callback", 25, false); if ($batch->callbackResult) { system_message(elgg_echo("group_tools:action:bulk_delete:success")); } else { register_error(elgg_echo("group_tools:action:bulk_delete:error")); } forward(REFERER);