File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1561,11 +1561,9 @@ - (BFTask *)saveAsync:(BFTask *)toAwait {
15611561
15621562- (BFTask *)fetchAsync : (BFTask *)toAwait {
15631563 PFCurrentUserController *controller = [[self class ] currentUserController ];
1564- @weakify (self);
15651564 return [[controller getCurrentUserSessionTokenAsync ] continueWithBlock: ^id (BFTask *task) {
15661565 NSString *sessionToken = task.result ;
15671566 return [toAwait continueAsyncWithBlock: ^id (BFTask *task) {
1568- @strongify (self);
15691567 return [[[self class ] objectController ] fetchObjectAsync: self withSessionToken: sessionToken];
15701568 }];
15711569 }];
@@ -1575,11 +1573,9 @@ - (BFTask *)deleteAsync:(BFTask *)toAwait {
15751573 [self checkDeleteParams ];
15761574
15771575 PFCurrentUserController *controller = [[self class ] currentUserController ];
1578- @weakify (self);
15791576 return [[controller getCurrentUserSessionTokenAsync ] continueWithBlock: ^id (BFTask *task) {
15801577 NSString *sessionToken = task.result ;
15811578 return [toAwait continueAsyncWithBlock: ^id (BFTask *task) {
1582- @strongify (self);
15831579 return [[[self class ] objectController ] deleteObjectAsync: self withSessionToken: sessionToken];
15841580 }];
15851581 }];
You can’t perform that action at this time.
0 commit comments