function statistics_advanced_install in Statistics Advanced 5
Same name and namespace in other branches
- 6 statistics_advanced.install \statistics_advanced_install()
Implementation of hook_install().
File
- ./
statistics_advanced.install, line 6
Code
function statistics_advanced_install() {
$weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'statistics'"));
db_query("UPDATE {system} SET weight = %d WHERE name = 'statistics_advanced'", $weight + 1);
}