summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index bb0236123..31c1bd702 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -79,13 +79,13 @@ class File extends CI_Controller {
$file = $this->file_mod->file($filedata['hash']);
if (!$this->file_mod->valid_id($id)) {
- $this->non_existent();
+ $this->_non_existent();
return;
}
// don't allow unowned files to be downloaded
if ($filedata["user"] == 0) {
- $this->file_mod->non_existent();
+ $this->_non_existent();
return;
}