You are here

twitter_pull.install in Twitter Pull 6

Installation routines for the Twitter Pull module.

File

twitter_pull.install
View source
<?php

/**
 * @file
 * Installation routines for the Twitter Pull module.
 */

/**
 * Implementation of hook_install().
 */
function twitter_pull_install() {
  drupal_install_schema('twitter_pull');
}

/**
 * Implementation of hook_uninstall().
 */
function twitter_pull_uninstall() {
  drupal_uninstall_schema('twitter_pull');
}

/**
 * Implementation of hook_schema().
 */
function twitter_pull_schema() {
  $schema['cache_pulled_tweets'] = drupal_get_schema_unprocessed('system', 'cache');
  $schema['cache_pulled_tweets']['description'] = 'Cache table for the tweets pulled by Twitter Pull module';
  return $schema;
}
function twitter_pull__update_6101() {
  cache_clear_all('cache_pulled_tweets');
}

Functions