From e9f289f57cbbc4dbad2a7ddf346a835924df0cd4 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 30 Jul 2019 15:21:01 +0200 Subject: [PATCH] Minor - format code --- main/social/new_promoted_message.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/social/new_promoted_message.php b/main/social/new_promoted_message.php index 734ee0766b..e9424e9152 100644 --- a/main/social/new_promoted_message.php +++ b/main/social/new_promoted_message.php @@ -188,7 +188,6 @@ function manageForm($default, $select_from_user_list = null, $sent_to = '', $tpl } MessageManager::cleanAudioMessage(); - } Security::clear_token(); header('Location: '.api_get_path(WEB_PATH).'main/social/promoted_messages.php'); @@ -203,14 +202,12 @@ function manageForm($default, $select_from_user_list = null, $sent_to = '', $tpl return $html; } - $this_section = SECTION_SOCIAL; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_PATH).'main/social/home.php', 'name' => get_lang('SocialNetwork'), ]; - $interbreadcrumb[] = [ 'url' => api_get_path(WEB_PATH).'main/messages/inbox.php', 'name' => get_lang('Messages'), @@ -232,7 +229,6 @@ $social_right_content .= ''; $social_right_content .= ''; $social_right_content .= '
'; - // MAIN CONTENT if (!isset($_POST['compose'])) { if (isset($_GET['re_id'])) { @@ -255,7 +251,6 @@ if (!isset($_POST['compose'])) { $social_right_content .= '
'; $social_right_content .= ''; - // Block Social Avatar SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'messages'); MessageManager::cleanAudioMessage();