summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-05-24 14:55:18 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-05-24 14:55:18 +0200
commit5eee0e8faec92393750cc8d89523bf786c536384 (patch)
tree551aa7c8efc5a51f70ab7763e68be22bff1a854c /application
parent843f8313c321d7aac25f89ffa0a481470e614c0b (diff)
mfile/valid_id: Remove duplicate code
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/models/mfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/mfile.php b/application/models/mfile.php
index feccfcb8f..95cfc5613 100644
--- a/application/models/mfile.php
+++ b/application/models/mfile.php
@@ -136,7 +136,7 @@ class Mfile extends CI_Model {
return false;
}
- return \service\files::valid_id($filedata, $this->id_validation_config, $this, time());
+ return $this->valid_filedata($filedata);
}
public function valid_filedata($filedata)