summaryrefslogtreecommitdiffstats
path: root/application/models/mfile.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-09-11 15:41:51 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-09-11 15:41:51 +0200
commit423adc78e9750d82af03bcaaa6561a2d7c6bd5ed (patch)
treecb2cff15951ccfbb6c5e8c39f8bd26682fb9b284 /application/models/mfile.php
parentfcdf76c9268b971b642f132a424368cef90b58aa (diff)
file/cron: always remove stale files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/mfile.php')
-rw-r--r--application/models/mfile.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/models/mfile.php b/application/models/mfile.php
index 0187f3086..97c9ecfcd 100644
--- a/application/models/mfile.php
+++ b/application/models/mfile.php
@@ -47,6 +47,11 @@ class Mfile extends CI_Model {
}
}
+ public function stale_hash($hash)
+ {
+ return $this->unused_file($hash);
+ }
+
function get_filedata($id)
{
$sql = '