summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
Diffstat (limited to 'application/models')
-rw-r--r--application/models/file_mod.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index c45dd85d5..fce84c090 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -117,7 +117,6 @@ class File_mod extends CI_Model {
$file = $this->file($filedata['hash']);
$type = $filedata['mimetype'];
$mode = $this->mime2extension($type);
- $mode = $this->filename2extension($filedata['filename']) ? $this->filename2extension($filedata['filename']) : $mode;
// If we detected a highlightable file redirect,
// otherwise show the URL because browsers would just show a DL dialog