JAL-4001 remove headless code from analytics
[jalview.git] / src / jalview / bin / Cache.java
index 63d4223..7af926b 100755 (executable)
@@ -887,11 +887,6 @@ public class Cache
    */
   public static void initAnalytics()
   {
-    initAnalytics(false);
-  }
-
-  public static void initAnalytics(boolean headless)
-  {
     Plausible.setEnabled(true);
 
     String appName = ChannelProperties.getProperty("app_name") + " Desktop";
@@ -911,10 +906,6 @@ public class Cache
     pathParts.add(appName);
     pathParts.add(version);
     pathParts.add(APPLICATION_STARTED);
-    if (headless)
-    {
-      pathParts.add("headless");
-    }
     path = ("/" + String.join("/", pathParts)).replace(' ', '+');
     /*
     }