| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 61 | public function isEmailWhiteListed() |
||
| 62 | { |
||
| 63 | // user_name is set, load the blacklist to start checking |
||
| 64 | $list = $this->getSubAccessControlList($this->getShortClassName()); |
||
| 65 | |||
| 66 | // currently if list is not set we do not check it |
||
| 67 | if (!isset($list['userEmail'])) { |
||
| 68 | return true; |
||
| 69 | } |
||
| 70 | |||
| 71 | return $this->isEmailInList($list); |
||
| 72 | } |
||
| 73 | } |
||
| 74 |