diff options
| author | Teddy Wing | 2018-10-27 02:49:24 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-27 02:49:24 +0200 | 
| commit | 9143115594a98f4e87de129634c827404ff61594 (patch) | |
| tree | b799197d79b0d1a8600f0e9def9c2811b1d6d92f | |
| parent | bcfbf591eb584c3b70f8e776057d52954c09bea3 (diff) | |
| download | DomeKey-9143115594a98f4e87de129634c827404ff61594.tar.bz2 | |
LicenseHandler,XDG: Remove some unneeded comments
| -rw-r--r-- | DomeKey/LicenseHandler.m | 7 | ||||
| -rw-r--r-- | DomeKey/XDG.m | 1 | 
2 files changed, 0 insertions, 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];      } | 
