changeset 280:8297c895f22e

Remove the obsolete code for checking undefined config settings completely.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 16 May 2019 21:48:24 +0300
parents 54a54921426c
children cec96665993a
files mgallery.inc.php
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- 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;
-*/
     }
   }