You are here

function fasttoggle_comment_save in Fasttoggle 7

Save a new value for a comment attribute.

1 string reference to 'fasttoggle_comment_save'
fasttoggle_comment_fasttoggle_available_links in module/fasttoggle_comment/fasttoggle_comment.module
Implements hook_fasttoggle_available_links().

File

module/fasttoggle_comment/fasttoggle_comment.module, line 54

Code

function fasttoggle_comment_save($options, $group, $instance, $new_value, $object) {
  $object->{$instance} = $new_value;
  comment_save($object);
}