poke basic config setting
This commit is contained in:
parent
c598bbb8a9
commit
18208fab84
@ -968,16 +968,24 @@ function get_poke_verbs() {
|
|||||||
// index is present tense verb
|
// index is present tense verb
|
||||||
// value is array containing past tense verb, translation of present, translation of past
|
// value is array containing past tense verb, translation of present, translation of past
|
||||||
|
|
||||||
$arr = array(
|
if(get_config('system','poke_basic')) {
|
||||||
'poke' => array( 'poked', t('poke'), t('poked')),
|
$arr = array(
|
||||||
'ping' => array( 'pinged', t('ping'), t('pinged')),
|
'poke' => array( 'poked', t('poke'), t('poked')),
|
||||||
'prod' => array( 'prodded', t('prod'), t('prodded')),
|
);
|
||||||
'slap' => array( 'slapped', t('slap'), t('slapped')),
|
}
|
||||||
'finger' => array( 'fingered', t('finger'), t('fingered')),
|
else {
|
||||||
'rebuff' => array( 'rebuffed', t('rebuff'), t('rebuffed')),
|
$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')),
|
||||||
|
);
|
||||||
|
|
||||||
|
call_hooks('poke_verbs', $arr);
|
||||||
|
}
|
||||||
|
|
||||||
call_hooks('poke_verbs', $arr);
|
|
||||||
return $arr;
|
return $arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2016-02-03.1298H
|
2016-02-04.1299H
|
||||||
|
Reference in New Issue
Block a user