Skip to content

Commit

Permalink
Remove shared profile link see BT#13494
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Oct 4, 2017
1 parent 1ed0a04 commit 7e8eac7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
4 changes: 0 additions & 4 deletions main/messages/inbox.php
Expand Up @@ -25,7 +25,6 @@
}
}


$nameTools = get_lang('Messages');
$show_message = null;
if (isset($_GET['form_reply']) || isset($_GET['form_delete'])) {
Expand Down Expand Up @@ -111,9 +110,6 @@

// Comes from normal profile
if ($allowSocial == false && $allowMessage) {
$actions .= '<a href="'.api_get_path(WEB_PATH).'main/social/profile.php">'.
Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).'</a>';

$actions .= '<a href="'.api_get_path(WEB_PATH).'main/messages/new_message.php">'.
Display::return_icon('message_new.png', get_lang('ComposeMessage')).'</a>';
$actions .= '<a href="'.api_get_path(WEB_PATH).'main/messages/inbox.php">'.
Expand Down
4 changes: 0 additions & 4 deletions main/messages/new_message.php
Expand Up @@ -318,10 +318,6 @@ function manageForm($default, $select_from_user_list = null, $sent_to = null)
if ($allowSocial) {
} else {
$social_right_content .= '<div class=actions>';
if ($allowSocial && api_get_setting('allow_message_tool') === 'true') {
$social_right_content .= '<a href="'.api_get_path(WEB_PATH).'main/social/profile.php">'.
Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).'</a>';
}
if (api_get_setting('allow_message_tool') === 'true') {
$social_right_content .= '<a href="'.api_get_path(WEB_PATH).'main/messages/new_message.php">'.
Display::return_icon('message_new.png', get_lang('ComposeMessage')).'</a>';
Expand Down
6 changes: 0 additions & 6 deletions main/messages/outbox.php
Expand Up @@ -41,12 +41,6 @@
);

$actions = '';

if ($allowSocial && $allowMessage) {
$actions .= '<a href="'.api_get_path(WEB_PATH).'main/social/profile.php">'.
Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).'</a>';
}

if ($allowMessage) {
$actions .= '<a href="'.api_get_path(WEB_PATH).'main/messages/new_message.php">'.
Display::return_icon('message_new.png', get_lang('ComposeMessage')).'</a>';
Expand Down
4 changes: 0 additions & 4 deletions main/messages/view_message.php
Expand Up @@ -24,10 +24,6 @@
$interbreadcrumb[] = array('url' => 'inbox.php', 'name' => get_lang('Messages'));

$social_right_content = '<div class="actions">';
if ($allowSocial && $allowMessage) {
$social_right_content .= '<a href="'.api_get_path(WEB_PATH).'main/social/profile.php">'.
Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).'</a>';
}
if (api_get_setting('allow_message_tool') === 'true') {
$social_right_content .= '<a href="'.api_get_path(WEB_PATH).'main/messages/new_message.php">'.
Display::return_icon('new-message.png', get_lang('ComposeMessage')).'</a>';
Expand Down

0 comments on commit 7e8eac7

Please sign in to comment.