From 1bdbbed4aa1c9149ed49f7a8329060fefb9e0384 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 5 Aug 2014 16:35:43 +0100 Subject: Remove unnecessary duplicated if-block --- index.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 942df76..3a776e5 100644 --- a/index.php +++ b/index.php @@ -83,17 +83,6 @@ if (isset($_GET['C'])) { } } -if (isset($_GET['C'])) { - $sort = preg_split("/;O=/", $_GET['C']); - if ($_GET['C'] == "N;O=A") { - $nameurl = "?C=N;O=D"; - } else if ($_GET['C'] == "M;O=A") { - $modifiedurl = "?C=M;O=D"; - } else if ($_GET['C'] == "S;O=A") { - $sizeurl = "?C=S;O=D"; - } -} - $listing = array(); date_default_timezone_set("GB"); -- cgit v1.2.3