- set_pconfig(local_user(),'dwpost','post',intval($_POST['dwpost']));
- set_pconfig(local_user(),'dwpost','post_by_default',intval($_POST['dw_bydefault']));
- set_pconfig(local_user(),'dwpost','dw_username',trim($_POST['dw_username']));
- set_pconfig(local_user(),'dwpost','dw_password',trim($_POST['dw_password']));
+ PConfig::set(local_user(),'dwpost','post',intval($_POST['dwpost']));
+ PConfig::set(local_user(),'dwpost','post_by_default',intval($_POST['dw_bydefault']));
+ PConfig::set(local_user(),'dwpost','dw_username',trim($_POST['dw_username']));
+ PConfig::set(local_user(),'dwpost','dw_password',trim($_POST['dw_password']));