6-disable-analytics-2.patch 425 B

12345678910
  1. --- Features.js
  2. +++ Features.js
  3. @@ -41,6 +41,7 @@ module.exports = Features = {
  4. case 'templates-server-pro':
  5. return Settings.overleaf == null
  6. case 'affiliations':
  7. + case 'analytics':
  8. // Checking both properties is needed for the time being to allow
  9. // enabling the feature in web-api and disabling in Server Pro
  10. // see https://github.com/overleaf/web-internal/pull/2127