Mercurial > hg > rr-repo
view sites/all/modules/sparql/sparql.install @ 4:ce11bbd8f642
added modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 19 Sep 2013 10:38:44 +0100 |
parents | |
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'); }