summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZen2007-12-21 07:39:54 (GMT)
committer Zen2007-12-21 07:39:54 (GMT)
commit04b84abfb9ce26ae170a728f9fe0df3f296c974c (patch)
treeca1957d758a52bcb21a745d43805b4a9356908c5
parentc9696a921fab7501c80874f2d0cb6990b7aead36 (diff)
Group hooks together.
-rw-r--r--privatemsg.module14
1 files changed, 7 insertions, 7 deletions
diff --git a/privatemsg.module b/privatemsg.module
index 43d56d2..357f47e 100644
--- a/privatemsg.module
+++ b/privatemsg.module
@@ -428,13 +428,6 @@ function privatemsg_user($type, &$edit, &$account, $category = NULL) {
}
}
-function _privatemsg_user_add_defaults(&$account) {
- if (!isset($account->privatemsg_allow)) {
- $account->privatemsg_allow = variable_get('privatemsg_default_allow', 1);
- $account->privatemsg_setmessage_notify = variable_get('privatemsg_default_setmessage_notify', 1);
- }
-}
-
/**
* Implementation of hook_form_alter().
*/
@@ -2483,3 +2476,10 @@ function privatemsg_load($message_id) {
$result = db_query($sql, $params);
return db_fetch_object($result);
}
+
+function _privatemsg_user_add_defaults(&$account) {
+ if (!isset($account->privatemsg_allow)) {
+ $account->privatemsg_allow = variable_get('privatemsg_default_allow', 1);
+ $account->privatemsg_setmessage_notify = variable_get('privatemsg_default_setmessage_notify', 1);
+ }
+}