Browse Source

Minor - Fix spacing

Yannick Warnier 8 years ago
parent
commit
f2a0b9fc65
1 changed files with 3 additions and 1 deletions
  1. 3 1
      main/inc/lib/message.lib.php

+ 3 - 1
main/inc/lib/message.lib.php

@@ -48,7 +48,8 @@ class MessageManager
      * @param   int $userId The user for which we need the unread messages count
      * @return  int The number of unread messages in the database for the given user
      */
-    private static function getCountNewMessagesFromDB($userId) {
+    private static function getCountNewMessagesFromDB($userId)
+    {
         if (empty($userId)) {
             return 0;
         }
@@ -60,6 +61,7 @@ class MessageManager
                             msg_status = " . MESSAGE_STATUS_UNREAD;
         $result = Database::query($sql);
         $row = Database::fetch_assoc($result);
+
         return $row['count'];
     }