MantisBT: master-1.2.x 96efb7b6

Author Committer Branch Timestamp Parent
Damien Regad dhx master-1.2.x 2011-03-28 13:55 master-1.2.x 802bfcfc
Affected Issues  0012884: Checks for obsolete config fails to report error
Changeset

Fix 0012884: Checks for obsolete config fails to report error

Function config_obsolete in core/config_api.php failed to report deprecated
configs defined in core/obsolete.php and displaying replacement parameter,
due to inverted parameters in call to print_test_warn_row.

Also fixes an error when calling the function with a single parameter (as
is sometimes the case in obsolete.php) by making the 2nd parameter optional
and defaulting to ''.

Signed-off-by: David Hicks d@hx.id.au

mod - core/config_api.php Diff File