Remove always-true IF
authoreileen <emcnaughton@wikimedia.org>
Tue, 20 Oct 2020 00:47:18 +0000 (13:47 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 20 Oct 2020 00:47:18 +0000 (13:47 +1300)
commit57ee0d9b1fbfce8988b1de1b83c62a4933bc33c3
tree08f1be37ddc0e2da2ab04f89afb380488d66ca42
parent42dada11f3a61750f53caaa694581912f206664f
Remove always-true IF

As can be seen by searching for calls to recurLinks recurID is not
an optional parameter for the call - so the IF is extraneous.

I've updated almost all the places that call it to
pass strict-type-casted int (or in one place ensured it already is)
as a bit of 'tightening'
CRM/Contribute/Page/Tab.php
CRM/Contribute/Page/UserDashboard.php
CRM/Member/Page/RecurringContributions.php