summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-01-31 00:11:46 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-01-31 00:11:46 -0800
commit56234fa8eb6d17bdb6277781f8d2489b300c3bb8 (patch)
tree42a88dbe56a73fdee63a0c38046789e377783827 /modules
parent4bfd0a68b63bc014889e8eadd0563d96d77e23b9 (diff)
downloadbrdo-56234fa8eb6d17bdb6277781f8d2489b300c3bb8.tar.gz
brdo-56234fa8eb6d17bdb6277781f8d2489b300c3bb8.tar.bz2
Issue #1416212 by pontus_nilsson: Fixed _user_mail_notify() -- options for need to be a list.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module30
1 files changed, 17 insertions, 13 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 48b17af90..da61f44d8 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -3466,23 +3466,27 @@ function user_preferred_language($account, $default = NULL) {
* @see drupal_mail()
*
* @param $op
- * The operation being performed on the account. Possible values:
- * 'register_admin_created': Welcome message for user created by the admin
- * 'register_no_approval_required': Welcome message when user self-registers
- * 'register_pending_approval': Welcome message, user pending admin approval
- * 'password_reset': Password recovery request
- * 'status_activated': Account activated
- * 'status_blocked': Account blocked
- * 'cancel_confirm': Account cancellation request
- * 'status_canceled': Account canceled
+ * The operation being performed on the account. Possible values:
+ * - 'register_admin_created': Welcome message for user created by the admin.
+ * - 'register_no_approval_required': Welcome message when user
+ * self-registers.
+ * - 'register_pending_approval': Welcome message, user pending admin
+ * approval.
+ * - 'password_reset': Password recovery request.
+ * - 'status_activated': Account activated.
+ * - 'status_blocked': Account blocked.
+ * - 'cancel_confirm': Account cancellation request.
+ * - 'status_canceled': Account canceled.
*
* @param $account
- * The user object of the account being notified. Must contain at
- * least the fields 'uid', 'name', and 'mail'.
+ * The user object of the account being notified. Must contain at
+ * least the fields 'uid', 'name', and 'mail'.
* @param $language
- * Optional language to use for the notification, overriding account language.
+ * Optional language to use for the notification, overriding account language.
+ *
* @return
- * The return value from drupal_mail_system()->mail(), if ends up being called.
+ * The return value from drupal_mail_system()->mail(), if ends up being
+ * called.
*/
function _user_mail_notify($op, $account, $language = NULL) {
// By default, we always notify except for canceled and blocked.