summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-21 14:05:33 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-21 14:05:33 +0200
commitfee3b8cdb62d95d4aa32e52e79e2e72238d5d987 (patch)
tree1b5b5a6fbf0d48146a5e0563e5378c6ef4c0d234 /application/controllers/file.php
parent02e9ebb4c2f50349356fb6863b680d45d65d4f70 (diff)
Disable cache for upload_history for now.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index cc5cf159c..751b72ce2 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -172,7 +172,9 @@ class File extends CI_Controller {
$cached .= $this->load->view($this->var->view_dir.'/header', $this->data, true);
$cached .= $this->load->view($this->var->view_dir.'/upload_history', $this->data, true);
$cached .= $this->load->view($this->var->view_dir.'/footer', $this->data, true);
- $this->memcachelibrary->set('history_'.$this->var->view_dir."_".$user, $cached, 42);
+
+ // disable for now. reenable if it causes too much load
+ //$this->memcachelibrary->set('history_'.$this->var->view_dir."_".$user, $cached, 42);
}
echo $cached;