Skip to content

Commit

Permalink
Make 2nd param of config_obsolete() optional
Browse files Browse the repository at this point in the history
Ports commit 96efb7b to master.

Note: the main issue referenced in #12884 had already been
fixed in 47e65b2
  • Loading branch information
dregad committed Oct 23, 2011
1 parent 05947d3 commit 9e0ae93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/config_api.php
Expand Up @@ -532,7 +532,7 @@ function config_flush_cache( $p_option = '', $p_user = ALL_USERS, $p_project = A
# ------------------
# Checks if an obsolete configuration variable is still in use. If so, an error
# will be generated and the script will exit. This is called from admin_check.php.
function config_obsolete( $p_var, $p_replace ) {
function config_obsolete( $p_var, $p_replace = '' ) {

# @@@ we could trigger a WARNING here, once we have errors that can
# have extra data plugged into them (we need to give the old and
Expand Down

0 comments on commit 9e0ae93

Please sign in to comment.