Unneeded "info" messages removed

This commit is contained in:
Michael 2020-07-23 03:48:52 +00:00
parent 31bd1a1ba0
commit 3f84caeec5
37 changed files with 6 additions and 65 deletions

View file

@ -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);
}
}