| Conditions | 3 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function checkFullLanguagesAccess($params, $ref) { |
||
|
|
|||
| 46 | if (isset($params['recordLocalizationAccess']) && $params['recordLocalizationAccess']) { |
||
| 47 | // so far the user had access to all existing overlay-languages |
||
| 48 | return BeServices::hasUserAccessToEditRecord($params['table'], $params['row']['uid']); |
||
| 49 | } else { |
||
| 50 | return $params['recordLocalizationAccess']; |
||
| 51 | } |
||
| 52 | } |
||
| 53 | |||
| 54 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.