Fix codestyle
authorJoshua Rüsweg <ruesweg@woltlab.com>
Sun, 5 Jul 2020 13:45:38 +0000 (15:45 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2020 13:45:38 +0000 (15:45 +0200)
Co-authored-by: Matthias Schmidt <gravatronics@live.com>
files/lib/data/conversation/message/ConversationMessage.class.php

index 90b20ba5f2aed08096fc5712d010fa0a04c561be..22a0d36c2b51b7701924b2377b03909846507373 100644 (file)
@@ -147,9 +147,9 @@ class ConversationMessage extends DatabaseObject implements IMessage {
         * @return      boolean
         */
        public function canEdit() {
-               return  (WCF::getUser()->userID == $this->userID && 
-                       ($this->getConversation()->isDraft || WCF::getSession()->getPermission('user.conversation.canEditMessage')) 
-                       && $this->getConversation()->canReply());
+               return  WCF::getUser()->userID == $this->userID
+                       && ($this->getConversation()->isDraft || WCF::getSession()->getPermission('user.conversation.canEditMessage')) 
+                       && $this->getConversation()->canReply();
        }
        
        /**