- set_pconfig(local_user(),'fromgplus','enable', $enable);
+ PConfig::set(local_user(),'fromgplus','enable', $enable);
+ $keywords = ((x($_POST, 'fromgplus-keywords')) ? intval($_POST['fromgplus-keywords']) : 0);
+ PConfig::set(local_user(),'fromgplus', 'keywords', $keywords);