You are here

function drupagram_install in Drupagram 6

Same name and namespace in other branches
  1. 7 drupagram.install \drupagram_install()

Implementation hook_install().

File

./drupagram.install, line 276
Install, update and uninstall functions for the drupagram module.

Code

function drupagram_install() {
  drupal_install_schema("drupagram");
  db_query("UPDATE {system} SET weight = 3 WHERE name = 'drupagram'");
  $drupagram_settings_link = l('here', 'admin/settings/services/instagram');
  drupal_set_message(st('The drupagram module has been enabled. You must enter your API information !drupagram_settings_link', array(
    '!drupagram_settings_link' => $drupagram_settings_link,
  )));
}