function signup_insert_default_signup_info in Signup 6
Same name and namespace in other branches
- 5.2 signup.install \signup_insert_default_signup_info()
- 5 signup.install \signup_insert_default_signup_info()
- 6.2 signup.install \signup_insert_default_signup_info()
- 7 signup.install \signup_insert_default_signup_info()
Helper method to insert the default signup information into the {signup} table (stored in a row for nid 0). These are the default settings for new signup-enabled nodes.
2 calls to signup_insert_default_signup_info()
- signup_install in ./
signup.install - Implementation of hook_install().
- signup_settings_form_submit in includes/
admin.settings.inc - Submits the signup settings form
File
- ./
signup.install, line 186
Code
function signup_insert_default_signup_info() {
return db_query("INSERT INTO {signup} (nid, forwarding_email,\n send_confirmation, confirmation_email,\n send_reminder, reminder_days_before, reminder_email,\n close_in_advance_time, close_signup_limit, status, user_reg_form) VALUES (0, '',\n 1, 'Enter your default confirmation email message here',\n 1, 1, 'Enter your default reminder email message here',\n 0, 0, 1, 0)");
}