File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public static function sendAccountCreated($data) {
5353 $ mailer ->Body = $ mailHtmlBody ;
5454 $ mailer ->AltBody = $ mailPlainBody ;
5555
56- $ mailer ->send ();
56+ return $ mailer ->send ();
5757 }
5858
5959 public static function sendVerify ($ data ) {
@@ -82,7 +82,7 @@ public static function sendVerify($data) {
8282 $ mailer ->Body = $ mailHtmlBody ;
8383 $ mailer ->AltBody = $ mailPlainBody ;
8484
85- $ mailer ->send ();
85+ return $ mailer ->send ();
8686 }
8787
8888 public static function sendResetPassword ($ data ) {
@@ -110,7 +110,7 @@ public static function sendResetPassword($data) {
110110 $ mailer ->Body = $ mailHtmlBody ;
111111 $ mailer ->AltBody = $ mailPlainBody ;
112112
113- $ mailer ->send ();
113+ return $ mailer ->send ();
114114 }
115115
116116 public static function sendDeleteAccount ($ data ) {
@@ -138,6 +138,6 @@ public static function sendDeleteAccount($data) {
138138 $ mailer ->Body = $ mailHtmlBody ;
139139 $ mailer ->AltBody = $ mailPlainBody ;
140140
141- $ mailer ->send ();
141+ return $ mailer ->send ();
142142 }
143143 }
You can’t perform that action at this time.
0 commit comments