dev/core#2244 Simplify and consistently apply checking of whether financial acls...
authoreileen <emcnaughton@wikimedia.org>
Fri, 11 Dec 2020 02:26:21 +0000 (15:26 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 11 Dec 2020 02:26:21 +0000 (15:26 +1300)
commit34509ae3d2f1082c9c06f50a5e1a6886c967186d
treec3385389f2801203412ee301f787d74e4d801110
parent5458ce21b63f5c059fed751239525985c7e16da7
dev/core#2244 Simplify and consistently apply checking of whether financial acls are enabled

Per https://lab.civicrm.org/dev/core/-/issues/2244 the move of some handling to this function
did not consistently include an early return when the setting is toggled off.

Eventually there will be no setting - just 'is this extension enabled or not' but
in the transition we need this. The new version is easier to copy and paste :-)
and uses a function in the extension. The function in the main code base is
mostly a lot of code to handle the way the setting used to be stored & it
could just check the setting too now
ext/financialacls/financialacls.php