summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2014-08-05 16:35:43 +0100
committerLuke Bratch <l_bratch@yahoo.co.uk>2014-08-05 16:35:43 +0100
commit1bdbbed4aa1c9149ed49f7a8329060fefb9e0384 (patch)
tree9920a1c6d5b48fb4441cee36da00f63a223fc3ba
parent39c71a7c9506818482fcaacc6f10aafb0171439f (diff)
Remove unnecessary duplicated if-block
-rw-r--r--index.php11
1 files changed, 0 insertions, 11 deletions
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");