mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
do away with deprecated activity types
This commit is contained in:
@@ -1270,77 +1270,6 @@ function sslify($s) {
|
||||
return $s;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get an array of poke verbs.
|
||||
*
|
||||
* @return array
|
||||
* * \e index is present tense verb
|
||||
* * \e value is array containing past tense verb, translation of present, translation of past
|
||||
*/
|
||||
function get_poke_verbs() {
|
||||
|
||||
$arr = [
|
||||
'poke' => ['poked', t('poke'), t('poked')],
|
||||
'ping' => ['pinged', t('ping'), t('pinged')],
|
||||
|
||||
// Those might be better suited for a nsfw poke addon
|
||||
|
||||
// 'prod' => ['prodded', t('prod'), t('prodded')],
|
||||
// 'slap' => ['slapped', t('slap'), t('slapped')],
|
||||
// 'finger' => ['fingered', t('finger'), t('fingered')],
|
||||
// 'rebuff' => ['rebuffed', t('rebuff'), t('rebuffed')]
|
||||
];
|
||||
|
||||
/**
|
||||
* @hooks poke_verbs
|
||||
* * \e array associative array with another array as value
|
||||
*/
|
||||
call_hooks('poke_verbs', $arr);
|
||||
|
||||
return $arr;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get an array of mood verbs.
|
||||
*
|
||||
* @return array
|
||||
* * \e index is the verb
|
||||
* * \e value is the translated verb
|
||||
*/
|
||||
function get_mood_verbs() {
|
||||
|
||||
$arr = [
|
||||
'happy' => t('happy'),
|
||||
'sad' => t('sad'),
|
||||
'mellow' => t('mellow'),
|
||||
'tired' => t('tired'),
|
||||
'perky' => t('perky'),
|
||||
'angry' => t('angry'),
|
||||
'stupefied' => t('stupefied'),
|
||||
'puzzled' => t('puzzled'),
|
||||
'interested' => t('interested'),
|
||||
'bitter' => t('bitter'),
|
||||
'cheerful' => t('cheerful'),
|
||||
'alive' => t('alive'),
|
||||
'annoyed' => t('annoyed'),
|
||||
'anxious' => t('anxious'),
|
||||
'cranky' => t('cranky'),
|
||||
'disturbed' => t('disturbed'),
|
||||
'frustrated' => t('frustrated'),
|
||||
'depressed' => t('depressed'),
|
||||
'motivated' => t('motivated'),
|
||||
'relaxed' => t('relaxed'),
|
||||
'surprised' => t('surprised'),
|
||||
];
|
||||
|
||||
/**
|
||||
* @hooks mood_verbs
|
||||
* * \e array associative array with mood verbs
|
||||
*/
|
||||
call_hooks('mood_verbs', $arr);
|
||||
|
||||
return $arr;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Function to list all smilies, both internal and from addons.
|
||||
|
||||
Reference in New Issue
Block a user