mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
restore mailchimp sub
This commit is contained in:
parent
27d6627081
commit
00c0216c04
1 changed files with 8 additions and 5 deletions
|
@ -91,17 +91,20 @@ class DownloadActions extends Actions
|
||||||
$failure = false;
|
$failure = false;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// MailActions::subscribeToMailchimp($email, Mailchimp::LIST_GENERAL_ID);
|
MailActions::subscribeToMailchimp($email, Mailchimp::LIST_GENERAL_ID);
|
||||||
|
}
|
||||||
|
catch (MailchimpSubscribeException $e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
static::subscribeToPrefinery($email, null, $referrerId);
|
static::subscribeToPrefinery($email, null, $referrerId);
|
||||||
}
|
}
|
||||||
catch (PrefinerySubscribeException $e)
|
catch (PrefinerySubscribeException $e)
|
||||||
{
|
{
|
||||||
$failure = true;
|
$failure = true;
|
||||||
}
|
}
|
||||||
catch (MailchimpSubscribeException $e)
|
|
||||||
{
|
|
||||||
$failure = true;
|
|
||||||
}
|
|
||||||
if ($failure)
|
if ($failure)
|
||||||
{
|
{
|
||||||
Session::set(Session::KEY_DOWNLOAD_ACCESS_ERROR,
|
Session::set(Session::KEY_DOWNLOAD_ACCESS_ERROR,
|
||||||
|
|
Loading…
Add table
Reference in a new issue