Commit 874fe3d8 authored by Dries's avatar Dries

- Patch #1031686 by rschwab: User_load() documentation should reference...

- Patch #1031686 by rschwab: User_load() documentation should reference drupal_save_session(), not session_save_session().
parent 07eaa98b
......@@ -326,7 +326,7 @@ function attachLoad(&$queried_users, $revision_id = FALSE) {
* user. So to avoid confusion and to avoid clobbering the global $user object,
* it is a good idea to assign the result of this function to a different local
* variable, generally $account. If you actually do want to act as the user you
* are loading, it is essential to call @code session_save_session(FALSE);
* are loading, it is essential to call @code drupal_save_session(FALSE);
* @endcode first. See @link http://drupal.org/node/218104 Safely impersonating
* another user @endlink for more information.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment