# HG changeset patch # User Matti Hamalainen # Date 1558032504 -10800 # Node ID 8297c895f22e6936666cf04f75d52e9562accc5b # Parent 54a54921426c17b7e8a5458e5623234c9ac06921 Remove the obsolete code for checking undefined config settings completely. diff -r 54a54921426c -r 8297c895f22e mgallery.inc.php --- a/mgallery.inc.php Thu May 16 21:45:59 2019 +0300 +++ b/mgallery.inc.php Thu May 16 21:48:24 2019 +0300 @@ -232,19 +232,6 @@ { mgDebug("Found '".$file."' config.\n"); return TRUE; -/* - // Validate settings - $ok = TRUE; - foreach ($mgSettings as $setting => $val) - { - if (!array_key_exists($setting, $mgDefaults)) - { - mgError("Setting '".$setting."' does not exist.\n"); - $ok = FALSE; - } - } - return $ok; -*/ } }