Permalink
Browse files

Disabling attachments, for now.

  • Loading branch information...
1 parent 4452336 commit 16dd9d7487717c2d3c56ded409f74bfacb835efb @roustem roustem committed with Juan Pablo Ortiz Aréchiga Apr 20, 2010
Showing with 9 additions and 5 deletions.
  1. +9 −5 OACall.m
View
@@ -14,6 +14,8 @@
#import "OAMutableURLRequest.h"
#import "OACall.h"
+#import "NSMutableURLRequest+Parameters.h"
+
@interface OACall (Private)
- (void)callFinished:(OAServiceTicket *)ticket withData:(NSData *)data;
@@ -137,11 +139,13 @@ - (void)perform:(OAConsumer *)consumer
if (self.parameters) {
[request setParameters:self.parameters];
}
- if (self.files) {
- for (NSString *key in self.files) {
- [request attachFileWithName:@"file" filename:NSLocalizedString(@"Photo.jpg", @"") data:[self.files objectForKey:key]];
- }
- }
+
+// if (self.files) {
+// for (NSString *key in self.files) {
+// [request attachFileWithName:@"file" filename:NSLocalizedString(@"Photo.jpg", @"") data:[self.files objectForKey:key]];
+// }
+// }
+
fetcher = [[OADataFetcher alloc] init];
[fetcher fetchDataWithRequest:request
delegate:self

0 comments on commit 16dd9d7

Please sign in to comment.