mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-16 20:35:15 +02:00
Move PConfig::set() to DI::pConfig()->set()
This commit is contained in:
parent
ea3a9052d8
commit
febc835a2d
42 changed files with 185 additions and 185 deletions
|
@ -41,7 +41,7 @@ function widgets_settings(&$a,&$o) {
|
|||
|
||||
|
||||
$key = DI::pConfig()->get(local_user(), 'widgets', 'key' );
|
||||
if ($key=='') { $key = mt_rand(); PConfig::set(local_user(), 'widgets', 'key', $key); }
|
||||
if ($key=='') { $key = mt_rand(); DI::pConfig()->set(local_user(), 'widgets', 'key', $key); }
|
||||
|
||||
$widgets = [];
|
||||
$d = dir(dirname(__file__));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue