| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
|
| 4 |
//////////////////////////////////////////////////////////////////////////////
|
| 5 |
// Core API hooks
|
| 6 |
|
| 7 |
/**
|
| 8 |
* Implementation of hook_enable().
|
| 9 |
*/
|
| 10 |
function skype_status_enable() {
|
| 11 |
drupal_set_message(t('Skype Status module successfully installed. Please review the available <a href="@settings">configuration settings</a>.', array('@settings' => url('admin/settings/skype_status'))));
|
| 12 |
}
|
| 13 |
|
| 14 |
/**
|
| 15 |
* Implementation of hook_install().
|
| 16 |
*/
|
| 17 |
function skype_status_install() {
|
| 18 |
rdf_db_create_repository('skype_status', array('dc:title' => t('Skype Status'), 'dc:description' => ''));
|
| 19 |
}
|
| 20 |
|
| 21 |
/**
|
| 22 |
* Implementation of hook_uninstall().
|
| 23 |
*/
|
| 24 |
function skype_status_uninstall() {
|
| 25 |
variable_del('skype_status_profile_field');
|
| 26 |
variable_del('skype_status_cache_lifetime');
|
| 27 |
rdf_db_delete_repository('skype_status');
|
| 28 |
}
|