removed(posting.php): Unused 'U_VIEWTOPIC variable (#1818)

This commit is contained in:
Roman Kelesidis 2025-02-12 20:04:53 +03:00 committed by GitHub
commit 03ebbda6be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -625,10 +625,6 @@ $template->assign_vars([
'POSTER_RGROUPS' => !empty($poster_rgroups) ? $poster_rgroups : '', 'POSTER_RGROUPS' => !empty($poster_rgroups) ? $poster_rgroups : '',
'ATTACH_RG_SIG' => $switch_rg_sig ?: false, 'ATTACH_RG_SIG' => $switch_rg_sig ?: false,
// todo: remove (cuz unused)
'U_VIEWTOPIC' => ($mode == 'reply') ? TOPIC_URL . "$topic_id&postorder=desc" : '',
// todo: end
'S_NOTIFY_CHECKED' => $notify_user ? 'checked' : '', 'S_NOTIFY_CHECKED' => $notify_user ? 'checked' : '',
'S_ROBOTS_CHECKED' => $robots_indexing ? 'checked' : '', 'S_ROBOTS_CHECKED' => $robots_indexing ? 'checked' : '',
'S_TYPE_TOGGLE' => $topic_type_toggle, 'S_TYPE_TOGGLE' => $topic_type_toggle,