mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Extend openstreetmap description since quite a few people have installed it and been unable to work out what it did.
Update my URL in infiniteimprobabilitydrive so people can shout at the right person. Remove pokes from morechoice, and put them in their own addon. We'll leave the really "out there" ones away from the git. Group text, created by user request. Sets the group editor to text mode. This is possibly too 'special interest' for the git, but I'll let somebody else decide.
This commit is contained in:
parent
fc3329e956
commit
49aef48076
5 changed files with 128 additions and 11 deletions
|
@ -14,8 +14,6 @@ function morechoice_install() {
|
|||
register_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
|
||||
register_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
|
||||
register_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
|
||||
register_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -24,6 +22,8 @@ function morechoice_uninstall() {
|
|||
unregister_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
|
||||
unregister_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
|
||||
unregister_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
|
||||
|
||||
// We need to leave this here for a while, because we now have a situation where people can end up with an orphaned hook.
|
||||
unregister_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
|
||||
|
||||
}
|
||||
|
@ -123,11 +123,4 @@ function morechoice_marital_selector($a,&$b) {
|
|||
$b[] = 'Hurt in the past';
|
||||
$b[] = 'Wallowing in self-pity';
|
||||
}
|
||||
}
|
||||
|
||||
function morechoice_poke_verbs($a,&$b) {
|
||||
$b['bitchslap'] = array('bitchslapped', t('bitchslap'), t('bitchslapped'));
|
||||
$b['shag'] = array('shag', t('shag'), t('shagged'));
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue