Mercurial > hg > rr-repo
diff sites/all/modules/insert/insert.install @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sites/all/modules/insert/insert.install Wed Aug 21 18:51:11 2013 +0100 @@ -0,0 +1,14 @@ +<?php + +/** + * @file + * Update and install functions for Insert. + */ + +/** + * Implementation of hook_install(). + */ +function insert_install() { + // Insert needs to load after both ImageField and FileField. + db_query("UPDATE {system} SET weight = 15 WHERE type = 'module' AND name = 'insert'"); +}