diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/include/text.php b/include/text.php index 3b21b04b6..37d185ce6 100644 --- a/include/text.php +++ b/include/text.php @@ -1254,26 +1254,24 @@ function sslify($s) { * * \e value is array containing past tense verb, translation of present, translation of past */ function get_poke_verbs() { - if (get_config('system', 'poke_basic')) { - $arr = array( - 'poke' => array('poked', t('poke'), t('poked')), - ); - } else { - $arr = array( - 'poke' => array( 'poked', t('poke'), t('poked')), - 'ping' => array( 'pinged', t('ping'), t('pinged')), - 'prod' => array( 'prodded', t('prod'), t('prodded')), - 'slap' => array( 'slapped', t('slap'), t('slapped')), - 'finger' => array( 'fingered', t('finger'), t('fingered')), - 'rebuff' => array( 'rebuffed', t('rebuff'), t('rebuffed')), - ); - /** - * @hooks poke_verbs - * * \e array associative array with another array as value - */ - call_hooks('poke_verbs', $arr); - } + $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; } |