- set_pconfig($uid,'jappixmini','username',$username);
- set_pconfig($uid,'jappixmini','server',$server);
- set_pconfig($uid,'jappixmini','bosh',trim($b['jappixmini-bosh']));
- set_pconfig($uid,'jappixmini','password',trim($b['jappixmini-encrypted-password']));
- set_pconfig($uid,'jappixmini','autosubscribe',intval($b['jappixmini-autosubscribe']));
- set_pconfig($uid,'jappixmini','autoapprove',intval($b['jappixmini-autoapprove']));
- set_pconfig($uid,'jappixmini','activate',intval($b['jappixmini-activate']));
- set_pconfig($uid,'jappixmini','dontinsertchat',intval($b['jappixmini-dont-insertchat']));
- set_pconfig($uid,'jappixmini','encrypt',$encrypt);
+ PConfig::set($uid,'jappixmini','username',$username);
+ PConfig::set($uid,'jappixmini','server',$server);
+ PConfig::set($uid,'jappixmini','bosh',trim($b['jappixmini-bosh']));
+ PConfig::set($uid,'jappixmini','password',trim($b['jappixmini-encrypted-password']));
+ PConfig::set($uid,'jappixmini','autosubscribe',intval($b['jappixmini-autosubscribe']));
+ PConfig::set($uid,'jappixmini','autoapprove',intval($b['jappixmini-autoapprove']));
+ PConfig::set($uid,'jappixmini','activate',intval($b['jappixmini-activate']));
+ PConfig::set($uid,'jappixmini','dontinsertchat',intval($b['jappixmini-dont-insertchat']));
+ PConfig::set($uid,'jappixmini','encrypt',$encrypt);