You are here

function sms_international_install in SMS Framework 6.2

Same name and namespace in other branches
  1. 7 modules/sms_international/sms_international.install \sms_international_install()

Implementation of hook_install().

File

modules/sms_international/sms_international.install, line 6

Code

function sms_international_install() {
  drupal_install_schema('sms_international');
  db_query("INSERT INTO {sms_international} (iso, name, country_code, min_length, max_length, status) VALUES ('es', 'Spain', '34', '9', '9', 1)");
  db_query("INSERT INTO {sms_international} (iso, name, country_code, min_length, max_length, status) VALUES ('gb', 'United Kingdom', '44', '9', '10', 1)");
  db_query("INSERT INTO {sms_international} (iso, name, country_code, min_length, max_length, status) VALUES ('us', 'United States', '1', '10', '10', 1)");
}