Fix intentional typo in dev mode check (left over from testing)
This commit is contained in:
parent
8883b02fe4
commit
b0ad209a23
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ sub custom {
|
||||||
body => encode( 'utf-8', $body ),
|
body => encode( 'utf-8', $body ),
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($ENV{TRAVELYNX_DB_NAME} eq 'travelynx_deva') {
|
if ($ENV{TRAVELYNX_DB_NAME} eq 'travelynx_dev') {
|
||||||
# Do not send mail in dev mode
|
# Do not send mail in dev mode
|
||||||
say "sendmail to ${to}: ${subject}\n\n${body}";
|
say "sendmail to ${to}: ${subject}\n\n${body}";
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue