| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 52 | protected function addNotices() |
||
| 53 | { |
||
| 54 | if (filter_has_var(INPUT_GET, 'flag-deleted')) { |
||
| 55 | $deleted = (int) filter_input(INPUT_GET, 'flag-deleted'); |
||
| 56 | Notices::addNotice('deleted', sprintf(n__('%d city permanently deleted.', '%d cities permanently deleted.', $deleted), $deleted), 'success'); |
||
| 57 | } |
||
| 60 |