aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-09-05 22:14:04 +0200
committerTeddy Wing2018-09-05 22:14:04 +0200
commite9da806f26bd6a9b11aa461a3093346967ccaf52 (patch)
treeb1cc42615278e169216a273bb8657482547a7843
parent04f9b781817751fd8cfc244a05b424e3308100b3 (diff)
downloadCopy-Mailto-e9da806f26bd6a9b11aa461a3093346967ccaf52.tar.bz2
setDefaultURLHandler: Remove `NSLog`s
These debug logs are no longer necessary now that we know that it works.
-rw-r--r--CopyMailto/DefaultURLHandler.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/CopyMailto/DefaultURLHandler.m b/CopyMailto/DefaultURLHandler.m
index c2295f3..424a0ee 100644
--- a/CopyMailto/DefaultURLHandler.m
+++ b/CopyMailto/DefaultURLHandler.m
@@ -13,11 +13,8 @@
+ (OSStatus)setDefaultURLHandler {
CFStringRef scheme = (CFStringRef)@"mailto";
CFStringRef bundle_identifier = (__bridge CFStringRef)[[NSBundle mainBundle] bundleIdentifier];
- NSLog(@"%@", scheme);
- NSLog(@"%@", bundle_identifier);
OSStatus status = LSSetDefaultHandlerForURLScheme(scheme, bundle_identifier);
- NSLog(@"%d", status);
CFRelease(scheme);