First parameter of 'deleteProduct' in Order Class is never used

The Class Order.php in /classes/order/Order.php has a method called "deleteProduct($order, $orderDetail, $quantity)".
The first parameter `order` is never used in the function. It is for backwards compatibility or a typo?