forked from friendica/friendica-addons
use pconfig::delete in widgets addon
This commit is contained in:
parent
916c359eb0
commit
fa08537213
|
@ -23,7 +23,7 @@ function widgets_settings_post(){
|
||||||
if(! local_user())
|
if(! local_user())
|
||||||
return;
|
return;
|
||||||
if (isset($_POST['widgets-submit'])){
|
if (isset($_POST['widgets-submit'])){
|
||||||
del_pconfig(local_user(), 'widgets', 'key');
|
PConfig::delete(local_user(), 'widgets', 'key');
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue