Permalink
Browse files

MB-6673 hide ToolInstallerController when app starts for the first time

Change-Id: I58ff022ced0df86e322c6eac2a8db78f4f740891
Reviewed-on: http://review.couchbase.org/20904
Reviewed-by: Jens Alfke <jens@couchbase.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
  • Loading branch information...
1 parent 9984cf4 commit f57578ee2f4ecbf58ac39f238bd23cb72013645e @farshidce farshidce committed with Farshid Ghods Sep 17, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 Couchbase Server/ToolInstallController.m
@@ -21,12 +21,7 @@ @implementation ToolInstallController
+ (ToolInstallController*) showIfFirstRun {
- if ([[NSUserDefaults standardUserDefaults] boolForKey: @"ToolInstallController_Asked"]) {
- return nil;
- }
- [[NSUserDefaults standardUserDefaults] setBool: YES forKey: @"ToolInstallController_Asked"];
- [[NSUserDefaults standardUserDefaults] synchronize];
- return [self show];
+ return nil;
}

0 comments on commit f57578e

Please sign in to comment.