You are here

function fb_example_update_7001 in Drupal for Facebook 7.3

Implements hook_update_N().

Set weight so that fb_example comes after fb_user.

File

contrib/fb_example.install, line 29
Install file for fb_example.module. Set the weight of our module to be after og.

Code

function fb_example_update_7001() {
  db_update('system')
    ->fields(array(
    'weight' => 3,
  ))
    ->condition('name', 'fb_example')
    ->execute();
  return $ret;
}