diff --git a/php/controller/profile-controller.php b/php/controller/profile-controller.php index 5f35fa8..7b0af19 100644 --- a/php/controller/profile-controller.php +++ b/php/controller/profile-controller.php @@ -12,7 +12,7 @@ if (!isset($_SESSION["user"])) { } $user = $dao->findUser($_SESSION["user_email"] ?? ""); -try { +/*try { $author = $user->getAuthor(); $articleManager = ArticleManager::getInstance(); $userArticles = $articleManager->getArticlesByAuthor($author); @@ -21,7 +21,7 @@ try { } } catch (Exception $e) { $_SESSION["message"] = "internal_error"; -} +}*/ if (!$user) { $_SESSION = [];