view sites/all/modules/sparql/sparql.install @ 13:134d4b2e75f6

updated quicktabs and google analytics modules
author danieleb <danielebarchiesi@me.com>
date Tue, 29 Oct 2013 13:48:59 +0000
parents ce11bbd8f642
children
line wrap: on
line source
<?php
/**
 * @file
 * SPARQL API installation/uninstallation.
 *
 * @author Arto Bendiken <http://bendiken.net/>
 * @copyright Copyright (c) 2007-2008 Arto Bendiken. All rights reserved.
 * @license GPL <http://creativecommons.org/licenses/GPL/2.0/>
 * @package sparql.module
 */

//////////////////////////////////////////////////////////////////////////////
// Core API hooks

/**
 * Implements hook_enable().
 */
function sparql_enable() {
  drupal_set_message(t('SPARQL API successfully installed.'));
}

/**
 * Implements hook_install().
 */
function sparql_install() {

}

/**
 * Implements hook_uninstall().
 */
function sparql_uninstall() {


  db_query("DELETE FROM {variable} WHERE name LIKE 'sparql_%'");
  cache_clear_all('variables', 'cache');
}