stromb0li
Guest
Member
I am trying to upgrade a user programmatically and each time I do so, the payment_received email is sent out to the upgraded account.
Is there a way to suppress these? I tried
PHP:
Code:
Thank you!
Continue reading...
Continue reading...
Is there a way to suppress these? I tried
$upgradeService->setSendAlert(false);
, but setSendAlert doesn't seem to be valid.PHP:
Code:
Code:
$upgradeService = $app->service('XF:User\Upgrade', $userUpgrade, $username);
$upgradeService->setEndDate($timestamp);
$upgradeService->upgrade();
Continue reading...
Continue reading...