function comment_update_dependencies

Implements hook_update_dependencies().

File

modules/comment/comment.install, line 82

Code

function comment_update_dependencies() {
    // comment_update_7005() creates the comment body field and therefore must
    // run after all Field modules have been enabled, which happens in
    // system_update_7027().
    $dependencies['comment'][7005] = array(
        'system' => 7027,
    );
    // comment_update_7006() needs to query the {filter_format} table to get a
    // list of existing text formats, so it must run after filter_update_7000(),
    // which creates that table.
    $dependencies['comment'][7006] = array(
        'filter' => 7000,
    );
    return $dependencies;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.