You are here

function popups_install in Popups API (Ajax Dialogs) 5

Same name and namespace in other branches
  1. 6.2 popups.install \popups_install()
  2. 6 popups.install \popups_install()
  3. 7 popups.install \popups_install()

Implementation of hook_install().

Ensures popups runs after everything else, since it short circuits in hook_init.

File

./popups.install, line 9

Code

function popups_install() {
  db_query("UPDATE {system} SET weight = %d WHERE name = 'popups'", 9999);
}