Bugzilla – Attachment 92896 Details for
Bug 21390
Self registration verification emails should send immediately
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21390: Send registration verification emails immediately
Bug-21390-Send-registration-verification-emails-im.patch (text/plain), 1.16 KB, created by
Tomás Cohen Arazi
on 2019-09-17 13:29:23 UTC
(
hide
)
Description:
Bug 21390: Send registration verification emails immediately
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2019-09-17 13:29:23 UTC
Size:
1.16 KB
patch
obsolete
>From 470ca7bb9ad463e9360d159192505596f186ab95 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Wed, 4 Sep 2019 21:43:13 +0000 >Subject: [PATCH] Bug 21390: Send registration verification emails immediately > >To test >1/ Enable self registration >2/ Register, notice message is queued in the table but not sent >3/ Apply patch >4/ Register again, notice message is queued, but immediately sent > >Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > opac/opac-memberentry.pl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 1874116913..a9986461bf 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -194,6 +194,9 @@ if ( $action eq 'create' ) { > C4::Context->preference('KohaAdminEmailAddress'), > } > ); >+ my $num_letters_attempted = C4::Letters::SendQueuedMessages( { >+ letter_code => 'OPAC_REG_VERIFY' >+ } ); > } > else { > ( $template, $borrowernumber, $cookie ) = get_template_and_user( >-- >2.23.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21390
:
92599
|
92654
| 92896