Monotone-Parent: 0b64839fea2e383dcc57f754615f294e164d5826
Monotone-Revision: 7006e81f038867b26d3ed4119e35ad3a2763d2d4

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-10-18T12:25:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2011-10-18 12:25:53 +00:00
parent 53721a77cf
commit ba711bcad4

View File

@@ -411,11 +411,6 @@
return [NSString stringWithFormat: @"%u", length];
}
// - (NSString *) davResourceType
// {
// return @"";
// }
- (NSException *) davMoveToTargetObject: (id) _target
newName: (NSString *) _name
inContext: (id) _ctx
@@ -424,11 +419,7 @@
Note: even for new objects we won't get a new name but a preinstantiated
object representing the new one.
*/
[self logWithFormat:
@"TODO: move not implemented:\n target: %@\n new name: %@",
_target, _name];
return [NSException exceptionWithHTTPStatus:405 /* not allowed */
reason:@"this object cannot be copied via WebDAV"];
return [self moveToFolder: _target];
}
- (NSException *) davCopyToTargetObject: (id)_target