mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 17:08:48 +00:00
Move PConfig::get() to DI::pConfig()->get()
This commit is contained in:
parent
2a35176588
commit
ea3a9052d8
42 changed files with 414 additions and 412 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue