| 1 | <?php |
||
| 8 | class BlocksAdmin extends ModelAdmin {
|
||
| 9 | private static $managed_models = array('Block');
|
||
|
1 ignored issue
–
show
|
|||
| 10 | private static $url_segment = 'blocks'; |
||
|
1 ignored issue
–
show
|
|||
| 11 | private static $menu_title = 'Blocks'; |
||
|
1 ignored issue
–
show
|
|||
| 12 | private static $menu_priority = 10; |
||
|
1 ignored issue
–
show
|
|||
| 13 | private static $menu_icon = 'silverstripe-block/images/icon-block.png'; |
||
|
1 ignored issue
–
show
|
|||
| 14 | |||
| 15 | public function init() {
|
||
| 19 | |||
| 20 | public function getEditForm($id = null, $fields = null) {
|
||
| 43 | } |
This check marks private properties in classes that are never used. Those properties can be removed.