Browse Source

Minor - format code

Julio Montoya 5 years ago
parent
commit
772d153bbc
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main/inc/lib/social.lib.php

+ 1 - 2
main/inc/lib/social.lib.php

@@ -3309,9 +3309,8 @@ class SocialManager extends UserManager
         }
 
         $postAttachment = self::getPostAttachment($message);
-        $class = $message['msg_status'] === MESSAGE_STATUS_PROMOTED ? 'promoted' : '';
 
-        $html = '<div class = "top-mediapost '.$class.'"" >';
+        $html = '<div class="top-mediapost" >';
         $html .= '<div class="pull-right btn-group btn-group-sm">';
 
         $html .= MessageManager::getLikesButton(