use pconfig::delete in fromgplus addon

This commit is contained in:
Tobias Diekershoff 2017-11-11 07:22:46 +01:00
parent 64369ebfa4
commit 2b64efd907

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