function location_addanother_install in Location 5.3
Same name and namespace in other branches
- 6.3 contrib/location_addanother/location_addanother.install \location_addanother_install()
- 7.5 contrib/location_addanother/location_addanother.install \location_addanother_install()
- 7.3 contrib/location_addanother/location_addanother.install \location_addanother_install()
- 7.4 contrib/location_addanother/location_addanother.install \location_addanother_install()
Implementation of hook_install().
File
- contrib/
location_addanother/ location_addanother.install, line 11 - Installation routines for location_addanother.
Code
function location_addanother_install() {
// Change weight so we execute after location.
db_query("UPDATE {system} SET weight = 1 WHERE name = '%s' AND type = '%s'", 'location_addanother', 'module');
}