Bug 21801: (follow-up) Use ->account
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Nov 2018 14:58:10 +0000 (11:58 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 4 Jul 2019 12:56:31 +0000 (13:56 +0100)
commit0f83de166938e01ad596257f0a88389d80a47bab
treeab2e10ef27483ff73ff25933956f6d0f4c9fb75e
parent9bdd6a0990e337eed6b05dd660e589adf4baab5d
Bug 21801: (follow-up) Use ->account

This patch is a minor refactoring, that reuses the $account object we
already get from $patron, instead of creating new ones all over the
place. Code gets simpler to read too.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
members/paycollect.pl