protected function deleteLinked($order_id)
    {
        $this->db->delete('cart', array('order_id' => $order_id));
        $this->db->delete('order_log', array('order_id' => $order_id));
        $this->db->delete('history', array('entity' => 'order', 'entity_id' => $order_id));
    }