1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/addons/sendzid/sendzid.php

29 lines
699 B
PHP
Executable file

<?php
/**
* Name: Send ZID
* Description: Provides an optional feature to send your identity to all websites
* Version: 1.0
* Author: Mike Macgirvin <mike@zothub.com>
*/
function sendzid_load() {
register_hook('get_features','addon/sendzid/sendzid.php','sendzid_get_features');
}
function sendzid_unload() {
unregister_hook('get_features','addon/sendzid/sendzid.php','sendzid_get_features');
}
function sendzid_get_features(&$a,&$b) {
//FIXME - needs a better description
$b['general'][] = array(
'sendzid',
t('Extended Identity Sharing'),
t('Share your identity with all websites on the internet. When disabled, identity is only shared with sites in the matrix.'),false);
}