You are here

function signup_insert_default_signup_info in Signup 5.2

Same name and namespace in other branches
  1. 5 signup.install \signup_insert_default_signup_info()
  2. 6.2 signup.install \signup_insert_default_signup_info()
  3. 6 signup.install \signup_insert_default_signup_info()
  4. 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_page_submit in ./signup.module
Submits the signup settings form

File

./signup.install, line 113

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) 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)");
}