function performance_install in Performance Logging and Monitoring 7.2
Same name and namespace in other branches
- 5 performance.install \performance_install()
- 6.2 performance.install \performance_install()
- 6 performance.install \performance_install()
- 7 performance.install \performance_install()
Implements hook_install().
File
- ./
performance.install, line 136 - 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();
}