From 4185fe6ad25c739fbab6050659979476b0a223e0 Mon Sep 17 00:00:00 2001 From: Barry O'Donovan Date: Fri, 19 Jun 2020 16:44:12 +0100 Subject: [PATCH] [NF] IX-F Export - tag IXP Manager as the generator --- app/Utils/Export/JsonSchema.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Utils/Export/JsonSchema.php b/app/Utils/Export/JsonSchema.php index a7a4a23b5..f386b6a74 100644 --- a/app/Utils/Export/JsonSchema.php +++ b/app/Utils/Export/JsonSchema.php @@ -80,7 +80,10 @@ public function get( $version = null, $asArray = false, $detailed = true, $tags $version = $this->sanitiseVersion($version); } - $output = [ 'version' => $version ]; + $output = [ + 'version' => $version, + 'generator' => 'IXP Manager v' . APPLICATION_VERSION, + ]; // normalise times to UTC for exports date_default_timezone_set('UTC');