Rename social.disable_cw pconfig to system.disable_cw

This commit is contained in:
Hypolite Petovan 2018-04-04 22:53:55 -04:00
commit 34fd442821
4 changed files with 5 additions and 5 deletions

View file

@ -757,7 +757,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false, $order =
$profile_name_e = $profile_name;
if (!empty($item['content-warning']) && PConfig::get(local_user(), 'social', 'disable_cw', false)) {
if (!empty($item['content-warning']) && PConfig::get(local_user(), 'system', 'disable_cw', false)) {
$title_e = ucfirst($item['content-warning']);
} else {
$title_e = $item['title'];