Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | 2 | public function autorun() |
|
26 | { |
||
27 | 2 | $auth = new BaseAuth($this->_request); |
|
28 | |||
29 | /* set the registry */ |
||
30 | |||
31 | 2 | if ($auth->getStatus()) |
|
32 | { |
||
33 | 1 | $this->_registry->set('loggedIn', $this->_registry->get('token')); |
|
34 | 1 | $this->_registry->set('authStatus', $auth->getStatus()); |
|
35 | } |
||
36 | 2 | $this->_registry->set('dbStatus', Db::getStatus()); |
|
37 | 2 | } |
|
38 | } |
||
39 |