Mercurial > hg > rr-repo
view sites/all/modules/sparql/sparql.install @ 9:830c812b520f
added smtp module
author | root <root@paio.local> |
---|---|
date | Mon, 28 Oct 2013 15:34:27 +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'); }