poke basic config setting

This commit is contained in:
redmatrix 2016-02-04 11:58:56 -08:00
parent c598bbb8a9
commit 18208fab84
2 changed files with 18 additions and 10 deletions

View File

@ -968,6 +968,12 @@ 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
if(get_config('system','poke_basic')) {
$arr = array(
'poke' => array( 'poked', t('poke'), t('poked')),
);
}
else {
$arr = array( $arr = array(
'poke' => array( 'poked', t('poke'), t('poked')), 'poke' => array( 'poked', t('poke'), t('poked')),
'ping' => array( 'pinged', t('ping'), t('pinged')), 'ping' => array( 'pinged', t('ping'), t('pinged')),
@ -978,6 +984,8 @@ function get_poke_verbs() {
); );
call_hooks('poke_verbs', $arr); call_hooks('poke_verbs', $arr);
}
return $arr; return $arr;
} }

View File

@ -1 +1 @@
2016-02-03.1298H 2016-02-04.1299H