diff --git a/Sources/Core/GTLRService.m b/Sources/Core/GTLRService.m index fa801d10f..e55074d2e 100644 --- a/Sources/Core/GTLRService.m +++ b/Sources/Core/GTLRService.m @@ -245,10 +245,6 @@ @implementation GTLRService { uploadProgressBlock = _uploadProgressBlock, userAgentAddition = _userAgentAddition; -+ (Class)ticketClass { - return [GTLRServiceTicket class]; -} - - (instancetype)init { self = [super init]; if (self) { @@ -502,8 +498,8 @@ - (GTLRServiceTicket *)fetchObjectWithURL:(NSURL *)targetURL // We need to create a ticket unless one was created earlier (like during authentication.) if (!ticket) { - ticket = [[[[self class] ticketClass] alloc] initWithService:self - executionParameters:executionParams]; + ticket = [[GTLRServiceTicket alloc] initWithService:self + executionParameters:executionParams]; [ticket notifyStarting:YES]; }