message MDL-24972 removed some no longer required references to tabs
This commit is contained in:
+1
-7
@@ -967,13 +967,7 @@ function message_contact_link($userid, $linktype='add', $return=false, $script=n
|
||||
|
||||
if (empty($script)) {
|
||||
//strip off previous action params like 'removecontact'
|
||||
$theurl = message_remove_url_params($PAGE->url);
|
||||
|
||||
if (strpos($theurl, '?')===false) {
|
||||
$script = $theurl.'?tab=contacts';
|
||||
} else {
|
||||
$script = $theurl.'&tab=contacts';
|
||||
}
|
||||
$script = message_remove_url_params($PAGE->url);
|
||||
}
|
||||
|
||||
if (empty($str->blockcontact)) {
|
||||
|
||||
Reference in New Issue
Block a user