mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48:49 +00:00
Move PConfig::delete() to DI::pConfig()->delete()
This commit is contained in:
parent
febc835a2d
commit
346bf125a7
7 changed files with 35 additions and 35 deletions
|
@ -373,7 +373,7 @@ function pumpio_settings_post(App $a, array &$b)
|
|||
DI::pConfig()->set(local_user(), 'pumpio', 'post_by_default', $_POST['pumpio_bydefault'] ?? false);
|
||||
|
||||
if (!empty($_POST['pumpio_mirror'])) {
|
||||
PConfig::delete(local_user(), 'pumpio', 'lastdate');
|
||||
DI::pConfig()->delete(local_user(), 'pumpio', 'lastdate');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue