diff options
author | Mario <mario@mariovavti.com> | 2024-02-28 09:18:31 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-28 09:18:31 +0000 |
commit | 37878bf0a35bcd0fc799892618a8b34ca0440c2c (patch) | |
tree | 5b5ea26150c86464a91db057e3b0a9e9cc7a701b /include/text.php | |
parent | b4f079c4b51d4b4918b1901ee351bc40aeb343da (diff) | |
download | volse-hubzilla-37878bf0a35bcd0fc799892618a8b34ca0440c2c.tar.gz volse-hubzilla-37878bf0a35bcd0fc799892618a8b34ca0440c2c.tar.bz2 volse-hubzilla-37878bf0a35bcd0fc799892618a8b34ca0440c2c.zip |
do away with deprecated activity types
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/include/text.php b/include/text.php index ea9cf45e1..d6256b75b 100644 --- a/include/text.php +++ b/include/text.php @@ -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. |