function drupalchat_return_profile_url in DrupalChat 7.2
Same name and namespace in other branches
- 6.2 drupalchat.module \drupalchat_return_profile_url()
- 7 drupalchat.module \drupalchat_return_profile_url()
1 call to drupalchat_return_profile_url()
File
- ./
drupalchat.module, line 1420 - Module code for DrupalChat.
Code
function drupalchat_return_profile_url() {
global $user;
$link = 'javascript:void(0)';
if ($user->uid > 0) {
$link = url('user/' . $user->uid);
}
return $link;
}