From 41ff58e2850dc712d9750835167c94511410039b Mon Sep 17 00:00:00 2001 From: Julio Date: Wed, 15 Sep 2021 16:19:56 +0200 Subject: [PATCH] Minor - format code --- public/main/forum/forumfunction.inc.php | 3 ++- .../Migrations/Schema/V200/Version20201216132000.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/main/forum/forumfunction.inc.php b/public/main/forum/forumfunction.inc.php index bbf57a52c1..ee6e78de3f 100644 --- a/public/main/forum/forumfunction.inc.php +++ b/public/main/forum/forumfunction.inc.php @@ -3691,7 +3691,8 @@ function store_move_post($values) $forumId = $post->getForum()->getIid(); $threadId = $post->getThread()->getIid(); - $thread = (new CForumThread()) + $thread = new CForumThread(); + $thread ->setThreadTitle($post->getPostTitle()) ->setForum($post->getForum()) ->setUser($post->getUser()) diff --git a/src/CoreBundle/Migrations/Schema/V200/Version20201216132000.php b/src/CoreBundle/Migrations/Schema/V200/Version20201216132000.php index 7714305967..155448b461 100644 --- a/src/CoreBundle/Migrations/Schema/V200/Version20201216132000.php +++ b/src/CoreBundle/Migrations/Schema/V200/Version20201216132000.php @@ -62,7 +62,6 @@ final class Version20201216132000 extends AbstractMigrationChamilo $lpItems = $resultItems->fetchAllAssociative(); if (empty($lpItems)) { - continue; }