use more PConfig::delete #446

Merged
tobiasd merged 6 commits from 20171111-delpconfig into master 2017-11-11 09:11:24 +01:00
Showing only changes of commit 2b64efd907 - Show all commits

View file

@ -86,7 +86,7 @@ function fromgplus_addon_settings_post(&$a,&$b) {
PConfig::set(local_user(),'fromgplus', 'keywords', $keywords);
if (!$enable)
del_pconfig(local_user(),'fromgplus','lastdate');
PConfig::delete(local_user(),'fromgplus','lastdate');
info( t('Google+ Import Settings saved.') . EOL);
}