From 9143115594a98f4e87de129634c827404ff61594 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 27 Oct 2018 02:49:24 +0200 Subject: LicenseHandler,XDG: Remove some unneeded comments --- DomeKey/LicenseHandler.m | 7 ------- DomeKey/XDG.m | 1 - 2 files changed, 8 deletions(-) diff --git a/DomeKey/LicenseHandler.m b/DomeKey/LicenseHandler.m index 70a59ad..20416b8 100644 --- a/DomeKey/LicenseHandler.m +++ b/DomeKey/LicenseHandler.m @@ -28,8 +28,6 @@ static NSString * const LICENSE_FILE_NAME = @"license.plist"; + (void)addLicense:(NSString *)filePath { - // printf("current directory: %s\n", [[[NSFileManager defaultManager] currentDirectoryPath] UTF8String]); - NSError *error = nil; [self trashFileAtURL:[self licensePath]]; @@ -54,11 +52,6 @@ static NSString * const LICENSE_FILE_NAME = @"license.plist"; [self trashFileAtURL:[self licensePath]]; } - - // Copy license file into path - // Validate license - // If license doesn't validate, remove copied file - // If license does validate, print a success message } + (void)trashFileAtURL:(NSURL *)theURL diff --git a/DomeKey/XDG.m b/DomeKey/XDG.m index 5127739..d5b7e70 100644 --- a/DomeKey/XDG.m +++ b/DomeKey/XDG.m @@ -18,7 +18,6 @@ static NSString * const DOME_KEY_DIR = @"dome-key"; objectForKey:@"XDG_DATA_HOME"]; if (!xdg_data_home) { - // xdg_data_home = @"~/.local/share"; xdg_data_home = [@"~/.local/share" stringByExpandingTildeInPath]; } -- cgit v1.2.3