From 318957531d1e30cdda1717c3c973efec8572e7bd Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Fri, 20 Jul 2018 15:03:08 +0200 Subject: [PATCH] Revert "Check and report size of user profiles on startup" This reverts commit 3f7fd9dc728c3137fb3c2b4df9ac4fcb69a886ba. As intended and announced in the previous commit message. Relates to #20 --- ATxService/AutoTx.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs index 58ef61b..770e354 100644 --- a/ATxService/AutoTx.cs +++ b/ATxService/AutoTx.cs @@ -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 -- GitLab