You are here

function sms_international_install in SMS Framework 7

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

Implements hook_install().

File

modules/sms_international/sms_international.install, line 6

Code

function sms_international_install() {
  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)");
}