session functions from session.inc, like session_save_session in D6, have been renamed to drupal_* equivalents, like drupal_save_session() in D7.

This should be added to the update guide at http://drupal.org/update/modules/6/7

Comments

jhodgdon’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Correction/Clarification » documentation

Moving to correct issue queue. We manage the update docs in the main Drupal issue queue. They don't get noticed here...

jhodgdon’s picture

tagging

dmitrig01’s picture

Status: Active » Fixed
dmitrig01’s picture

yched’s picture

The D6 and D7 code samples are the same :-)
D6 :
drupal_save_session(TRUE);

D7:
drupal_save_session(TRUE);

+ "All session functions starting with sess_*... " doesn't seem like a good regexp for session_save_session() ?

jhodgdon’s picture

Status: Fixed » Needs work

Sounds like this needs a bit of work then?

dmitrig01’s picture

Status: Needs work » Needs review

oops, sorry

dmitrig01’s picture

Title: session_* functions renamed to drupal_*session* » sess_* functions renamed to drupal_*session*
jhodgdon’s picture

Status: Needs review » Needs work

Looks like the code sample is fixed...

#5 also mentioned:

"All session functions starting with sess_*... " doesn't seem like a good regexp for session_save_session() ?

jhodgdon’s picture

Status: Needs work » Fixed

I fixed http://drupal.org/update/modules/6/7#session_rename so that it has the correct d6 and d7 function names.

Status: Fixed » Closed (fixed)
Issue tags: -Needs documentation updates

Automatically closed -- issue fixed for 2 weeks with no activity.