Skip to content

Commit

Permalink
Use config_get_global for options dot_tool and neato_tool
Browse files Browse the repository at this point in the history
Since fix of #26091 dot_tool and neato_tool can no longer be set in database.
config_get_global is now used instead of config_get like it's done for
other options lisetd in $g_global_settings

Issue #26567
  • Loading branch information
atrol committed Jan 9, 2020
1 parent 3b1de42 commit c59863c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/relationship_graph_api.php
Expand Up @@ -155,7 +155,7 @@ function relgraph_generate_rel_graph( $p_bug_id ) {
$t_graph_fontsize = config_get( 'relationship_graph_fontsize' );
$t_graph_fontpath = get_font_path();
$t_view_on_click = config_get( 'relationship_graph_view_on_click' );
$t_neato_tool = config_get( 'neato_tool' );
$t_neato_tool = config_get_global( 'neato_tool' );

$t_graph_attributes = array();

Expand Down Expand Up @@ -279,7 +279,7 @@ function relgraph_generate_dep_graph( $p_bug_id, $p_horizontal = false ) {
$t_graph_fontsize = config_get( 'relationship_graph_fontsize' );
$t_graph_fontpath = get_font_path();
$t_view_on_click = config_get( 'relationship_graph_view_on_click' );
$t_dot_tool = config_get( 'dot_tool' );
$t_dot_tool = config_get_global( 'dot_tool' );

$t_graph_attributes = array();

Expand Down
2 changes: 1 addition & 1 deletion workflow_graph_img.php
Expand Up @@ -50,7 +50,7 @@
$t_graph_fontname = config_get( 'relationship_graph_fontname' );
$t_graph_fontsize = config_get( 'relationship_graph_fontsize' );
$t_graph_fontpath = get_font_path();
$t_dot_tool = config_get( 'dot_tool' );
$t_dot_tool = config_get_global( 'dot_tool' );

$t_graph_attributes = array();

Expand Down

0 comments on commit c59863c

Please sign in to comment.