- set_pconfig(local_user(),'fromapp','app',$_POST['fromapp-input']);
- set_pconfig(local_user(),'fromapp','force',intval($_POST['fromapp-force']));
+ PConfig::set(local_user(),'fromapp','app',$_POST['fromapp-input']);
+ PConfig::set(local_user(),'fromapp','force',intval($_POST['fromapp-force']));