From 2c809f16ab1ce39c7b0e624b73ec8535ec431522 Mon Sep 17 00:00:00 2001 From: Alexander Davis Date: Mon, 10 Aug 2020 16:37:06 +0100 Subject: [PATCH] Update existing.php (#64) --- app/public/existing.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/public/existing.php b/app/public/existing.php index 6ffc4ed..b820868 100644 --- a/app/public/existing.php +++ b/app/public/existing.php @@ -6,15 +6,6 @@ $closed_requests = get_my_closed_requests($db); $subscriptions = get_subscribed_requests($db); $open_requests = get_my_open_requests($db); - - foreach($requests as $req) { - if ($req['status'] != "Closed") { - array_push($open_requests, $req); - } elseif ($req['status'] == "Closed") { - array_push($closed_requests, $req); - } - } - } ?>