You are here

function feedapi_install in FeedAPI 6

Same name and namespace in other branches
  1. 5 feedapi.install \feedapi_install()

Implementation of hook_install().

File

./feedapi.install, line 112
Install file for FeedAPI module.

Code

function feedapi_install() {
  drupal_install_schema('feedapi');

  // This value warrants that og, taxonomy and similar modules does their job before feedapi. This is important
  // because of for example feedapi_inherit or whatever processor which needs a 3rd-party processed data.
  db_query("UPDATE {system} SET weight = 5 WHERE name = 'feedapi'");
}