function encrypt_submissions_install in Encrypt Submissions 7
Same name and namespace in other branches
- 6 encrypt_submissions.install \encrypt_submissions_install()
Implementation of hook_install. All we really need from this is to make sure that the module's weight is lower than other's, so that our hook_init fires before everyone else's
File
- ./
encrypt_submissions.install, line 9
Code
function encrypt_submissions_install() {
db_query("UPDATE {system} SET weight = -999 WHERE name = 'encrypt_submissions'");
}