function _bakery_init_field in Bakery Single Sign-On System 7.4
Same name and namespace in other branches
- 6.2 bakery.module \_bakery_init_field()
- 7.2 bakery.module \_bakery_init_field()
- 7.3 bakery.module \_bakery_init_field()
Build internal init url (without scheme).
4 calls to _bakery_init_field()
- bakery_profile_eat_stroopwafel_cookie in ./bakery_profile.module 
- Menu callback, invoked on the slave
- bakery_profile_request_account in ./bakery_profile.module 
- Request account information from master to create account locally.
- bakery_user_login in ./bakery.module 
- Implements hook_user_login().
- bakery_user_update in ./bakery.module 
- Implements hook_user_update().
File
- ./bakery.module, line 719 
Code
function _bakery_init_field($uid) {
  $url = variable_get('bakery_master', 'https://drupal.org/');
  return str_replace('https://', '', $url) . 'user/' . $uid . '/edit';
}