function forward_install in Forward 6
Same name and namespace in other branches
- 8.3 forward.install \forward_install()
- 8 forward.install \forward_install()
- 8.2 forward.install \forward_install()
- 5 forward.install \forward_install()
- 7.3 forward.install \forward_install()
- 7 forward.install \forward_install()
- 7.2 forward.install \forward_install()
- 4.x forward.install \forward_install()
- 4.0.x forward.install \forward_install()
File
- ./
forward.install, line 2
Code
function forward_install() {
drupal_install_schema('forward');
variable_set('forward_theme_template', 1);
db_query("INSERT INTO {forward_statistics} (nid, last_forward_timestamp, forward_count, clickthrough_count) values(0, 0, 0, 0)");
db_query("INSERT INTO {forward_statistics} (nid, last_forward_timestamp, forward_count, clickthrough_count) SELECT n.nid, 0, 0, 0 FROM {node} n");
}