summaryrefslogtreecommitdiffstats
path: root/application/controllers/StatsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/StatsController.php')
-rw-r--r--application/controllers/StatsController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/StatsController.php b/application/controllers/StatsController.php
index a54c528..8fc718e 100644
--- a/application/controllers/StatsController.php
+++ b/application/controllers/StatsController.php
@@ -15,6 +15,7 @@ class StatsController extends Zend_Controller_Action
if(isset($userIDsNamespace['groupID'])){
header("Content-Type: image/png");
+ header("Expires: 0");
$n = new Pbs_Graph();
$level = $this->_request->getParam('level');
@@ -22,8 +23,7 @@ class StatsController extends Zend_Controller_Action
$n->setHiglightLevel($level);
}
- $str = $n->graph($userIDsNamespace['groupID']);
- echo $str;
+ echo $n->graph($userIDsNamespace['groupID']);
}
}
}