JAL-4001 Remove analytics for --headless mode
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 28 Jun 2023 13:26:11 +0000 (14:26 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 28 Jun 2023 13:26:11 +0000 (14:26 +0100)
src/jalview/bin/Jalview.java

index 07e122a..57f2575 100755 (executable)
@@ -822,12 +822,6 @@ public class Jalview
         }
         else
         {
-          // record usage stats if in headless mode
-          if (Cache.getDefault("USAGESTATS", false)
-                  && !argparser.getBoolean(Arg.NOUSAGESTATS))
-          {
-            Cache.initAnalytics(headlessArg);
-          }
           Jalview.exit("Successfully completed commands in headless mode",
                   0);
         }