function db_get_school_id_for_user_id

7.x db.inc db_get_school_id_for_user_id($user_id)
6.x db.inc db_get_school_id_for_user_id($user_id)
2 calls to db_get_school_id_for_user_id()
user_display_users in modules/user/user.module
Display our list of faculty/staff users in the system.
user_edit_user_form in modules/user/user.module
Let the user edit a user's roles and other information.

File

includes/db.inc, line 766
This file contains mostly db shortcuts.

Code

function db_get_school_id_for_user_id($user_id) {
  $db = get_global_database_handler();
  return $db->get_school_id_for_user_id($user_id);
}