Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make 2nd param of config_obsolete() optional

Ports commit 96efb7b to master.

Note: the main issue referenced in #12884 had already been
fixed in 47e65b2
  • Loading branch information...
commit 9e0ae930f8527c08bb834fe6f05a80a236dc0a29 1 parent 05947d3
@dregad dregad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/config_api.php
View
2  core/config_api.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.