mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
Issue #21 - Remove remaining telemetry structs, callers and flags.
This commit is contained in:
parent
2564be2d79
commit
eaf9e756a0
50 changed files with 31 additions and 500 deletions
|
|
@ -1030,17 +1030,6 @@ var GlodaDatastore = {
|
|||
|
||||
var dbConnection;
|
||||
|
||||
// Report about the size of the database through telemetry (if there's a
|
||||
// database, naturally).
|
||||
if (dbFile.exists()) {
|
||||
try {
|
||||
let h = Services.telemetry.getHistogramById("THUNDERBIRD_GLODA_SIZE_MB");
|
||||
h.add(dbFile.fileSize/1048576);
|
||||
} catch (e) {
|
||||
this._log.warn("Couldn't report telemetry", e);
|
||||
}
|
||||
}
|
||||
|
||||
// Create the file if it does not exist
|
||||
if (!dbFile.exists()) {
|
||||
this._log.debug("Creating database because it doesn't exist.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue