function privatemsg_userpoints in Privatemsg 5
Same name and namespace in other branches
- 5.3 privatemsg.module \privatemsg_userpoints()
Implementation of hook_userpoints.
1 string reference to 'privatemsg_userpoints'
File
- ./
privatemsg.module, line 2123
Code
function privatemsg_userpoints($op, $new_points = 0, $uid = 0, $event = '') {
switch ($op) {
case 'setting':
$form['privatemsg_userpoints'] = array(
'#type' => 'textfield',
'#title' => t('Points for sending a private message'),
'#default_value' => variable_get('privatemsg_userpoints', 0),
);
return $form;
}
}