remove unused google analytics support

This commit is contained in:
Athou
2025-07-29 12:35:53 +02:00
parent 9a25157d3f
commit a8c47d717c
7 changed files with 1 additions and 36 deletions

View File

@@ -51,11 +51,6 @@ public interface CommaFeedConfiguration {
*/
Optional<String> announcement();
/**
* Google Analytics tracking code.
*/
Optional<String> googleAnalyticsTrackingCode();
/**
* Google Auth key for fetching Youtube channel favicons.
*/

View File

@@ -25,9 +25,6 @@ public class ServerInfo implements Serializable {
@Schema(required = true)
private boolean allowRegistrations;
@Schema
private String googleAnalyticsCode;
@Schema(required = true)
private boolean smtpEnabled;

View File

@@ -51,7 +51,6 @@ public class ServerREST {
infos.setVersion(version.getVersion());
infos.setGitCommit(version.getGitCommit());
infos.setAllowRegistrations(config.users().allowRegistrations());
infos.setGoogleAnalyticsCode(config.googleAnalyticsTrackingCode().orElse(null));
infos.setSmtpEnabled(config.passwordRecoveryEnabled());
infos.setDemoAccountEnabled(config.users().createDemoAccount());
infos.setWebsocketEnabled(config.websocket().enabled());