[NFC] code cleanup: split out 2 functions that are mostly unrelated.
authoreileen <emcnaughton@wikimedia.org>
Wed, 15 Nov 2017 21:06:25 +0000 (10:06 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 17 Nov 2017 04:48:58 +0000 (17:48 +1300)
commited0cb2fd3d385625bcd86d19f47931635732f08c
tree601b6f299d504346a2a918f43ad2f41bdb4aab93
parent73162db302b78e4da9618d9d184cc1740c58b496
[NFC] code cleanup: split out 2 functions that are mostly unrelated.

The handling of line items & financial items has been munged together in a way that gains little, adds confusion,
and blocks the financial items portion from being re-usable.

This is a code cleanup preparatory to the actual changes in pr #10962
CRM/Price/BAO/LineItem.php