Skip to content

Commit

Permalink
Remove unused $g_hr_size and $g_hr_width config options
Browse files Browse the repository at this point in the history
These 2 configs were removed from the code several years ago (see commit
6a0714f), but their definition remained
in config_defaults_inc.php and the documentation (admin guide).
  • Loading branch information
dregad committed Apr 22, 2016
1 parent 4853bd1 commit c1b463e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 29 deletions.
16 changes: 0 additions & 16 deletions config_defaults_inc.php
Expand Up @@ -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 #
#############################################
Expand Down
2 changes: 2 additions & 0 deletions core/obsolete.php
Expand Up @@ -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' );
14 changes: 1 addition & 13 deletions docbook/Admin_Guide/en-US/config/html.xml
Expand Up @@ -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/
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_hr_size</term>
<listitem>
<para>hr size.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_hr_width</term>
<listitem>
<para>hr width. Leave off the percentage (%) symbol.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_bottom_include_page</term>
<listitem>
Expand Down

0 comments on commit c1b463e

Please sign in to comment.