You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
357 B
14 lines
357 B
<?php |
|
// $Id$ |
|
|
|
// @file fedora_attach.install |
|
|
|
/** |
|
* Implementation of hook_install(). |
|
* |
|
* Ensures fedora_attach runs after module upload |
|
*/ |
|
function fedora_attach_install() { |
|
$weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'upload'")); |
|
db_query("UPDATE {system} SET weight = %d WHERE name = 'fedora_attach'", $weight+1); |
|
}
|
|
|