You are here

function dynamic_background_update_6001 in Dynamic Background 6

Update module weight to handle modules as less.

File

./dynamic_background.install, line 30
Handles the install and uninstall process for the module setting module weight and removes variables used by dynamic background.

Code

function dynamic_background_update_6001() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 200 WHERE type = 'module' AND name = 'dynamic_background'");
  return $ret;
}