Remove unused escapeURLComponent

This commit is contained in:
Kent Sutherland committed 2017-06-10 17:29:07 -05:00
1 parent fa7235c54e
commit d11eb126a1
1 file changed
-7
-7
View File
@@ -357,13 +357,6 @@ static NSMutableDictionary *sharedUpdaters = nil;
}
}
static NSString *escapeURLComponent(NSString *str) {
return [[[[str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]
stringByReplacingOccurrencesOfString:@"=" withString:@"%3d"]
stringByReplacingOccurrencesOfString:@"&" withString:@"%26"]
stringByReplacingOccurrencesOfString:@"+" withString:@"%2b"];
}
- (BOOL)updater:(SPUUpdater *)__unused updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)item untilInvokingBlock:(void (^)(void))installHandler
{
BOOL shouldPostponeRelaunch = NO;