/**
  * Removes the validation option. Validation is now non-optional.
  *
  * @param mixed[][] $options The options to be modified.
  */
 private static function threePointFour(&$options)
 {
     if (version_compare($options['meta']['version'], '3.4', '<')) {
         unset($options['validation']);
         if (!DocumentGallery::isValidOptionsStructure($options)) {
             DG_Logger::writeLog(DG_LogLevel::Error, 'Found invalid options structure. Reverting to default options.', false, true);
             $options = self::getDefaultOptions();
         }
     }
 }