File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
app/code/core/Mage/Newsletter/Model Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -359,20 +359,16 @@ public function subscribe($email)
359
359
360
360
$ this ->setIsStatusChanged (true );
361
361
362
- try {
363
- $ this ->save ();
364
- if ($ isConfirmNeed === true
365
- && $ isOwnSubscribes === false
366
- ) {
367
- $ this ->sendConfirmationRequestEmail ();
368
- } else {
369
- $ this ->sendConfirmationSuccessEmail ();
370
- }
371
-
372
- return $ this ->getStatus ();
373
- } catch (Exception $ e ) {
374
- throw new Exception ($ e ->getMessage ());
362
+ $ this ->save ();
363
+ if ($ isConfirmNeed === true
364
+ && $ isOwnSubscribes === false
365
+ ) {
366
+ $ this ->sendConfirmationRequestEmail ();
367
+ } else {
368
+ $ this ->sendConfirmationSuccessEmail ();
375
369
}
370
+
371
+ return $ this ->getStatus ();
376
372
}
377
373
378
374
/**
You can’t perform that action at this time.
0 commit comments