diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-01-31 15:32:30 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-01-31 15:32:30 +0000 |
commit | 64d11e1cc2a330778bb57dff2daf3e5bec29f5ee (patch) | |
tree | 1ca1059e847f36217f44bd71c8126536069e84b0 /modules/user/user.module | |
parent | 8678951608a1f94f0e18ceb217a8d76aaa5ebba9 (diff) | |
download | brdo-64d11e1cc2a330778bb57dff2daf3e5bec29f5ee.tar.gz brdo-64d11e1cc2a330778bb57dff2daf3e5bec29f5ee.tar.bz2 |
- updated user_mail() to return the result from the mail() call.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 54e9c1f72..ce12393a0 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -241,10 +241,10 @@ function user_mail($mail, $subject, $message, $header) { // print "<pre>subject: $subject<hr />header: $header<hr />$message</pre>"; if (variable_get("smtp_library", "") && file_exists(variable_get("smtp_library", ""))) { include_once variable_get("smtp_library", ""); - user_mail_wrapper($mail, $subject, $message, $header); + return user_mail_wrapper($mail, $subject, $message, $header); } else { - mail($mail, $subject, $message, $header); + return mail($mail, $subject, $message, $header); } } |