https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move PConfig::get() to DI::pConfig()->get()
[friendica-addons.git/.git]
/
widgets
/
widgets.php
diff --git
a/widgets/widgets.php
b/widgets/widgets.php
index
dd623af
..
c3e1b2e
100644
(file)
--- a/
widgets/widgets.php
+++ b/
widgets/widgets.php
@@
-40,7
+40,7
@@
function widgets_settings(&$a,&$o) {
return;
- $key =
PConfig::
get(local_user(), 'widgets', 'key' );
+ $key =
DI::pConfig()->
get(local_user(), 'widgets', 'key' );
if ($key=='') { $key = mt_rand(); PConfig::set(local_user(), 'widgets', 'key', $key); }
$widgets = [];