Agree with the change as it indeed makes no sense.
To test make sure deleting any items still works with this change. It's probably used in almost all extensions.
Please note that without this change, the undefined variable $model fatal error can be observed when cid[] parameter is not passed, i.e. when no items are selected for deletion.
This makes the test conditionif (!is_array($cid) || count($cid) < 1) to pass and hence $model is never defined.
Agree with the change as it indeed makes no sense.
To test make sure deleting any items still works with this change. It's probably used in almost all extensions.