projects
/
friendica-addons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916c359
)
use pconfig::delete in widgets addon
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sat, 11 Nov 2017 06:23:31 +0000
(07:23 +0100)
committer
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sat, 11 Nov 2017 06:23:31 +0000
(07:23 +0100)
widgets/widgets.php
patch
|
blob
|
history
diff --git
a/widgets/widgets.php
b/widgets/widgets.php
index e62932448efc5f2badd7d21e7a3a63c8aaf3ce92..a232d9e6c381cf2baab0f7c5c8c42ba73649eece 100755
(executable)
--- a/
widgets/widgets.php
+++ b/
widgets/widgets.php
@@
-23,7
+23,7
@@
function widgets_settings_post(){
if(! local_user())
return;
if (isset($_POST['widgets-submit'])){
-
del_pconfig
(local_user(), 'widgets', 'key');
+
PConfig::delete
(local_user(), 'widgets', 'key');
}
}