Unneeded "info" messages removed
This commit is contained in:
parent
31bd1a1ba0
commit
3f84caeec5
37 changed files with 6 additions and 65 deletions
|
@ -105,7 +105,6 @@ function nsfw_addon_settings_post(&$a, &$b)
|
|||
$enable = (!empty($_POST['nsfw-enable']) ? intval($_POST['nsfw-enable']) : 0);
|
||||
$disable = 1 - $enable;
|
||||
DI::pConfig()->set(local_user(), 'nsfw', 'disable', $disable);
|
||||
info(DI::l10n()->t('NSFW Settings saved.') . EOL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue