summaryrefslogtreecommitdiffstats
path: root/application/controllers/StatisticsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/StatisticsController.php')
-rwxr-xr-xapplication/controllers/StatisticsController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/StatisticsController.php b/application/controllers/StatisticsController.php
index 7416ec5..5bf798e 100755
--- a/application/controllers/StatisticsController.php
+++ b/application/controllers/StatisticsController.php
@@ -3,6 +3,7 @@ class StatisticsController extends Zend_Controller_Action
{
protected $config;
protected $pbs2host;
+ protected $pbs2Api;
protected $eventMapper;
protected $eventcategoryMapper;
protected $eventreportMapper;
@@ -14,6 +15,7 @@ class StatisticsController extends Zend_Controller_Action
$bootstrap = $this->getInvokeArg('bootstrap');
$this->config = $bootstrap->getOptions();
$this->pbs2host = $this->config['pbs2']['host'];
+ $this->pbs2Api = new Poolctrl_Pbs2Api($this->config);
$this->eventMapper = new Application_Model_EventMapper();
$this->eventcategoryMapper = new Application_Model_EventcategoryMapper();
$this->eventreportMapper = new Application_Model_EventreportMapper();