function fe_nodequeue_install in Features Extra 6
Implementation of hook_install().
File
- ./
fe_nodequeue.install, line 6
Code
function fe_nodequeue_install() {
drupal_install_schema('fe_nodequeue');
$weight = db_result(db_query("SELECT weight FROM {system} WHERE name = 'nodequeue'"));
db_query("UPDATE {system} SET weight = %d WHERE name = 'fe_nodequeue'", $weight + 1);
}