You are here

function advuser_reset_variables in Advanced User 7.3

Same name and namespace in other branches
  1. 6.3 advuser.module \advuser_reset_variables()

Reset the session persistent variables except 'filters'.

2 calls to advuser_reset_variables()
advuser_multiple_delete_confirm_submit in forms/advuser_multiple_delete_confirm.inc
Submit handler for the "Delete all" button.
advuser_multiple_email_confirm_submit in forms/advuser_multiple_email_confirm.inc
The submit handler for the Email button.

File

./advuser.module, line 847
Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.

Code

function advuser_reset_variables() {
  $advuser =& $_SESSION['advuser'];
  $advuser['accounts'] = array();
  $advuser['selectall'] = FALSE;
  $advuser['deselected'] = array();
}