You are here

function hosting_update_1 in Hosting 7.4

Same name and namespace in other branches
  1. 5 hosting.install \hosting_update_1()
  2. 6.2 hosting.install \hosting_update_1()
  3. 7.3 hosting.install \hosting_update_1()

Implements hook_update_N().

Set weight for hosting module.

File

./hosting.install, line 70
Define database schemas and update functions for the hosting module.

Code

function hosting_update_1() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE type='module' and name='hosting'");
  return $ret;
}