diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-08-05 16:35:43 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-08-05 16:35:43 +0100 |
commit | 1bdbbed4aa1c9149ed49f7a8329060fefb9e0384 (patch) | |
tree | 9920a1c6d5b48fb4441cee36da00f63a223fc3ba | |
parent | 39c71a7c9506818482fcaacc6f10aafb0171439f (diff) |
Remove unnecessary duplicated if-block
-rw-r--r-- | index.php | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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"); |