function mobile_codes_install in Mobile Codes 6
Same name and namespace in other branches
- 5 mobile_codes.install \mobile_codes_install()
- 6.2 mobile_codes.install \mobile_codes_install()
File
- ./
mobile_codes.install, line 31
Code
function mobile_codes_install() {
drupal_install_schema('mobile_codes');
db_query("INSERT INTO {mobile_codes_presets} (pid, name, data) VALUES (%d, '%s', '%s')", 1, 'Default', 'a:4:{s:4:"type";s:2:"qr";s:4:"data";s:4:"text";s:4:"size";s:1:"m";s:7:"tinyurl";i:0;}');
}