Loading nodefamily.install +12 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ function nodefamily_install() { default: break; } // Set the module weight to -2, so that the hook_form_alter() implementation // get's called before nodeprofile's implementation db_query("UPDATE {system} SET weight = -2 WHERE name = 'nodefamily'"); } function nodefamily_uninstall() { Loading Loading @@ -74,3 +77,12 @@ function nodefamily_update_2() { function nodefamily_update_3() { return nodefamily_update_1(); } /** * Set module weight to -2, as explained in nodefamily_install(). */ function nodefamily_update_4() { $ret = array(); $ret[] = update_sql("UPDATE {system} SET weight = -2 WHERE name = 'nodefamily'"); return $ret; } Loading
nodefamily.install +12 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ function nodefamily_install() { default: break; } // Set the module weight to -2, so that the hook_form_alter() implementation // get's called before nodeprofile's implementation db_query("UPDATE {system} SET weight = -2 WHERE name = 'nodefamily'"); } function nodefamily_uninstall() { Loading Loading @@ -74,3 +77,12 @@ function nodefamily_update_2() { function nodefamily_update_3() { return nodefamily_update_1(); } /** * Set module weight to -2, as explained in nodefamily_install(). */ function nodefamily_update_4() { $ret = array(); $ret[] = update_sql("UPDATE {system} SET weight = -2 WHERE name = 'nodefamily'"); return $ret; }