debugging

This commit is contained in:
NOrtmann1
2026-06-10 17:23:36 +02:00
parent a0932fed04
commit e0fbd220f0
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
exit();
}
/*try {
try {
$articleManager = ArticleManager::getInstance();
$articleManager->deleteArticle($id, $user);
@@ -30,8 +30,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$_SESSION["message"] = $e->getMessage();
header("location: ../../index.php?pfad=profile");
exit();
}*/
}
$_SESSION["message"] = "article_deleted";
header("location: ../../index.php?pfad=profile");
exit();