diff --git a/website/public/profile.php b/website/public/profile.php
index 95c5b86..83b9d10 100644
--- a/website/public/profile.php
+++ b/website/public/profile.php
@@ -27,7 +27,6 @@ if(empty($_GET["username"])) {
$user = selectUser($_SESSION["userID"], $userID);
$profile_friends = selectAllFriends($userID);
$profile_groups = selectAllUserGroups($userID);
-$posts = selectAllUserPosts($userID);
if ($userID == $_SESSION["userID"]) {
@@ -54,23 +53,12 @@ include("../views/footer.php");