| Conditions | 5 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 53 | protected function checkChargeEdit() |
||
| 54 | { |
||
| 55 | if(!$this->session || $this->session->closed) |
||
| 56 | { |
||
| 57 | throw new MessageException(trans('meeting.warnings.session.closed'), false); |
||
| 58 | } |
||
| 59 | if(!$this->charge || !$this->charge->active) |
||
| 60 | { |
||
| 61 | throw new MessageException(trans('meeting.warnings.charge.disabled'), false); |
||
| 62 | } |
||
| 65 |