Skip to content
Snippets Groups Projects
Commit 31895753 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Revert "Check and report size of user profiles on startup"

This reverts commit 3f7fd9dc.

As intended and announced in the previous commit message.

Relates to #20
parent 3f7fd9dc
No related branches found
No related tags found
No related merge requests found
......@@ -403,19 +403,6 @@ namespace ATxService
}
Log.Debug(msg);
Log.Info("User Profile Directories:");
var profilesDir = new DirectoryInfo(@"C:\Users");
foreach (var userProfile in profilesDir.GetDirectories()) {
Log.Info(userProfile.Name);
try {
var userProfileSize = FsUtils.GetDirectorySize(userProfile.FullName);
Log.Info(userProfileSize);
}
catch (Exception e) {
Log.Error($"getting size of [{userProfile.FullName}] failed: {e.Message}");
}
}
}
#endregion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment