You are here

function subscriptions_update_7000 in Subscriptions 7

Database update function 7000: Adjustments for D7.

Rename load functions.

File

./subscriptions.install, line 250
Subscriptions module installation.

Code

function subscriptions_update_7000() {
  db_update('subscriptions_queue')
    ->fields(array(
    'load_function' => 'subscriptions_content_load_node',
  ))
    ->condition('load_function', 'subscriptions_content_node_load')
    ->execute();
  db_update('subscriptions_queue')
    ->fields(array(
    'load_function' => 'subscriptions_content_load_comment',
  ))
    ->condition('load_function', 'subscriptions_content_comment_load')
    ->execute();
}