function commons_profile_init in Drupal Commons 6.2
Implementation of hook_init()
File
- modules/
features/ commons_profile/ commons_profile.module, line 74
Code
function commons_profile_init() {
// Redirect core /profile which lists users to our new list of users
if (arg(0) == 'profile' && !arg(1)) {
drupal_goto('users');
}
}