Co-authored-by: Matthias Schmidt <gravatronics@live.com>
* @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();
}
/**