function performance_install in Performance Logging and Monitoring 7
Same name and namespace in other branches
- 5 performance.install \performance_install()
- 6.2 performance.install \performance_install()
- 6 performance.install \performance_install()
- 7.2 performance.install \performance_install()
Implementation of hook_install().
File
- ./
performance.install, line 61 - Install and update for Performance Logging
Code
function performance_install() {
// Set the weight so this module runs last
// SQL: UPDATE {system} SET weight = 3000 WHERE name = 'performance'
db_update('system')
->fields(array(
'weight' => 3000,
))
->condition('name', 'performance')
->execute();
}