summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-26 23:01:51 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-26 23:01:51 -0700
commit67ff15fef110f4e64ab2e069bc94ba1773e376b1 (patch)
treefb9b144f510a203605e720465f270ae4a9bbfd69
parent6e7f4625b9c0e555a2e8c20151463422cfd51aa9 (diff)
downloadbrdo-67ff15fef110f4e64ab2e069bc94ba1773e376b1.tar.gz
brdo-67ff15fef110f4e64ab2e069bc94ba1773e376b1.tar.bz2
Issue #1198392 by pillarsdotnet: Fixed Add required docs to user_cancel_url() function.
-rw-r--r--modules/user/user.module13
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 4492c6028..1920789bf 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2266,7 +2266,18 @@ function user_pass_reset_url($account) {
}
/**
- * Generate a URL to confirm an account cancellation request.
+ * Generates a URL to confirm an account cancellation request.
+ *
+ * @param object $account
+ * The user account object, which must contain at least the following
+ * properties:
+ * - uid: The user uid number.
+ * - pass: The hashed user password string.
+ * - login: The user login name.
+ *
+ * @return
+ * A unique URL that may be used to confirm the cancellation of the user
+ * account.
*
* @see user_mail_tokens()
* @see user_cancel_confirm()