You are here

function encrypt_submissions_install in Encrypt Submissions 6

Same name and namespace in other branches
  1. 7 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 10

Code

function encrypt_submissions_install() {
  db_query("UPDATE {system} SET weight = -999 WHERE name = 'encrypt_submissions'");
}