Bug 31893: Use checkauth and do not fetch about.tt template master
authorNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jan 2023 17:29:22 +0000 (17:29 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 20 Jan 2023 13:56:30 +0000 (13:56 +0000)
commitfc650b3e871e1d558ca1ff9f0dcb2f1fa0ad5db2
treef036739bcb32a648f118855d859cbc1dbe4054ca
parent9608b16a6ba9d877dddc75beb1e1eef691f7b21a
Bug 31893: Use checkauth and do not fetch about.tt template

This patch updates four scripts to use checkauth instead of get_template_and_user

reserve/modrequest.pl
reserve/modrequest_suspendall.pl
course_reserves/mod_course.pl
members/members-update-do.pl

No behvaiour change is expected

To test:
0 - Apply patch
1 - Place some holds for a patron
2 - From patron page, confirm you can suspend all
3 - confirm you can delete marked holds
4 - Edit a course in course-reserves
5 - Make a chaneg to personal details via OPAC
6 - Confirm change can be approved on staff side

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
course_reserves/mod_course.pl
members/members-update-do.pl
reserve/modrequest.pl
reserve/modrequest_suspendall.pl