You are here

function mailhandler_switch_user in Mailhandler 6

Same name and namespace in other branches
  1. 5 mailhandler.module \mailhandler_switch_user()
  2. 7 mailhandler.retrieve.inc \mailhandler_switch_user()

(DEPRECATED) Switch from original user to mail submision user and back.

Related topics

File

./mailhandler.retrieve.inc, line 445
Mailbox connection code.

Code

function mailhandler_switch_user($uid = NULL) {
  mailhandler_watchdog_deprecated();
  return mailhandler_user_switch($uid);
}