function workflow_extensions_install in Workflow Extensions 6
Same name and namespace in other branches
- 7 workflow_extensions.install \workflow_extensions_install()
Implementation of hook_install().
File
- ./
workflow_extensions.install, line 11 - Install and uninstall hooks for Workflow Extensions module.
Code
function workflow_extensions_install() {
// Patch by galaxor: [#1346078]
// Weight should be a higher weight than Noderelationships module. That way,
// it can grab the submit handlers when dealing with a form in a modalframe.
// If we don't get that handler, the modalframe won't close.
db_query("UPDATE {system} SET weight=2 WHERE name='workflow_extensions'");
}