use pconfig::delete in fromgplus addon

pull/446/head
Tobias Diekershoff 2017-11-11 07:22:46 +01:00
parent 64369ebfa4
commit 2b64efd907
1 changed files with 1 additions and 1 deletions

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);
}