diff --git a/public/internal/footer.php b/public/internal/footer.php
index f0fee0cf427492ab9ec6dd90ecfdd10a6f193c09..b2183e9fb2c2b9bbb31a732d408dbf1fdfb2533b 100644
--- a/public/internal/footer.php
+++ b/public/internal/footer.php
@@ -2,21 +2,6 @@
 include "mysql.php";
 
 function getFooter(){
-    include "mysql.php";
-    include "config.php";
-
-    $newestPost = "";
-
-    $result = $conn->query("SELECT * FROM posts order by id desc limit $footerMaxPost");
-    if ($result->num_rows > 0) {
-        while ($row = $result->fetch_assoc()) {
-            $title = $row["title"];
-            $id = $row["id"];
-            $newestPost .= "<li><a href=\"/post.php?id=$id\">$title</a></li>";
-        }
-    }
-
-
     echo (<<<EOF
     </div>
     <footer>