From 874fe3d8db216ac5d490319a553ca47509bfd41b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 4 Feb 2011 20:50:28 +0000 Subject: - Patch #1031686 by rschwab: User_load() documentation should reference drupal_save_session(), not session_save_session(). --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/user/user.module b/modules/user/user.module index b75790463..80a9eafe8 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -326,7 +326,7 @@ class UserController extends DrupalDefaultEntityController { * 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. * -- cgit v1.2.3