Skip to content

Commit

Permalink
Use config_get_global to access long_process_timeout
Browse files Browse the repository at this point in the history
Issue #27884
  • Loading branch information
atrol committed Jan 30, 2021
1 parent a30b625 commit ab8b73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/helper_api.php
Expand Up @@ -293,7 +293,7 @@ function check_disabled( $p_val = true ) {
* @return integer
*/
function helper_begin_long_process( $p_ignore_abort = false ) {
$t_timeout = config_get( 'long_process_timeout' );
$t_timeout = config_get_global( 'long_process_timeout' );

# silent errors or warnings reported when safe_mode is ON.
@set_time_limit( $t_timeout );
Expand Down

0 comments on commit ab8b73b

Please sign in to comment.