debugging

This commit is contained in:
2026-06-01 23:15:48 +02:00
parent 3774a2caee
commit 28511e0cc4
+2 -2
View File
@@ -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 = [];