Commit ca15ee9b authored by Chris Herberte's avatar Chris Herberte

bugfix #383428 (6) kenorb - install weight

parent 1ab5be5d
<?php
// $Id:
// $Id$
/**
* Implementation of hook_install().
......@@ -8,9 +8,14 @@ function email_registration_install() {
db_query("UPDATE {system} SET weight = 10 WHERE name = 'email_registration'");
}
function email_registration_update_2() {
$ret = array();
$ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'email_registration'");
return $ret;
}
function email_registration_update_3() {
$ret = array();
$ret[] = update_sql("UPDATE {system} SET weight = 0 WHERE name = 'email_registration'");
return $ret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment