0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Corrected general comment in update check unit

no issue
This commit is contained in:
kirrg001 2019-04-17 20:52:50 +02:00
parent 22c2d0cbcb
commit 6dd65d7176

View file

@ -1,23 +1,11 @@
// # Update Checking Service /**
// * Update Checking Unit
// Makes a request to Ghost.org to check if there is a new version of Ghost available. *
// The service is provided in return for users opting in to anonymous usage data collection. * Makes a request to Ghost.org to request release & custom notifications.
// * The service is provided in return for users opting in to anonymous usage data collection.
// Blog owners can opt-out of update checks by setting `privacy: { useUpdateCheck: false }` in their config.js *
// * Blog owners can opt-out of update checks by setting `privacy: { useUpdateCheck: false }` in their config file.
// The data collected is as follows: */
//
// - blog id - a hash of the blog hostname, pathname and db_hash. No identifiable info is stored.
// - ghost version
// - node version
// - npm version
// - env - production or development
// - database type - SQLite, MySQL
// - email transport - mail.options.service, or otherwise mail.transport
// - created date - database creation date
// - post count - total number of posts
// - user count - total number of users
// - theme - name of the currently active theme
const crypto = require('crypto'), const crypto = require('crypto'),
exec = require('child_process').exec, exec = require('child_process').exec,