bulk_action.php 382 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Dispatches a bulk action to real action.
  4. *
  5. * @package Elgg.Core.Plugin
  6. * @subpackage UserValidationByEmail
  7. */
  8. $action_type = get_input('action_type');
  9. $valid_actions = array('delete', 'resend_validation', 'validate');
  10. if (!in_array($action_type, $valid_actions)) {
  11. forward(REFERRER);
  12. }
  13. $action_name = "uservalidationbyemail/$action_type";
  14. action($action_name);