You are here

function mongodb_session_update_7000 in MongoDB 7

Build indexes on session table.

File

mongodb_session/mongodb_session.install, line 52
MongoDB session install file.

Code

function mongodb_session_update_7000() {
  if (variable_get('mongodb_indexes_auto_build', TRUE)) {
    mongodb_session_ensure_indexes();
  }
}