From c1b463e61bb23ad2766cd5aa422f5895704bd824 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Fri, 22 Apr 2016 10:11:27 +0000 Subject: [PATCH] Remove unused $g_hr_size and $g_hr_width config options These 2 configs were removed from the code several years ago (see commit 6a0714fec0426d7dfb44c3978b91e96d0103c740), but their definition remained in config_defaults_inc.php and the documentation (admin guide). --- config_defaults_inc.php | 16 ---------------- core/obsolete.php | 2 ++ docbook/Admin_Guide/en-US/config/html.xml | 14 +------------- 3 files changed, 3 insertions(+), 29 deletions(-) diff --git a/config_defaults_inc.php b/config_defaults_inc.php index 2250cd3946..c288874d0f 100644 --- a/config_defaults_inc.php +++ b/config_defaults_inc.php @@ -1804,22 +1804,6 @@ */ $g_wrap_in_preformatted_text = ON; -######################## -# MantisBT HR Settings # -######################## - -/** - * Horizontal Rule Size - * @global integer $g_hr_size - */ -$g_hr_size = 1; - -/** - * Horizontal Rule Width - * @global integer $g_hr_width - */ -$g_hr_width = 50; - ############################################# # MantisBT Authentication and LDAP Settings # ############################################# diff --git a/core/obsolete.php b/core/obsolete.php index 7680d187e3..f73064bf95 100644 --- a/core/obsolete.php +++ b/core/obsolete.php @@ -193,3 +193,5 @@ config_obsolete( 'email_set_category' ); config_obsolete( 'font_per_captcha' ); config_obsolete( 'csv_add_bom' ); +config_obsolete( 'hr_size' ); +config_obsolete( 'hr_width' ); diff --git a/docbook/Admin_Guide/en-US/config/html.xml b/docbook/Admin_Guide/en-US/config/html.xml index f2122ae52f..eeb2de5521 100644 --- a/docbook/Admin_Guide/en-US/config/html.xml +++ b/docbook/Admin_Guide/en-US/config/html.xml @@ -15,22 +15,10 @@ is. The $g_allow_href_tags does not have to be enabled to make URL links. The package will automatically hyperlink properly formatted URLs eg. http://blah.blah/ or - mailto://me@more.com/  + mailto://me@more.com/ - - $g_hr_size - - hr size. - - - - $g_hr_width - - hr width. Leave off the percentage (%) symbol. - - $g_bottom_include_page