From ba711bcad442d24af307bd0839d79a46ceedd5b5 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 18 Oct 2011 12:25:53 +0000 Subject: [PATCH] Fix for bug #1096 Monotone-Parent: 0b64839fea2e383dcc57f754615f294e164d5826 Monotone-Revision: 7006e81f038867b26d3ed4119e35ad3a2763d2d4 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-10-18T12:25:53 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoContentObject.m | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/SoObjects/SOGo/SOGoContentObject.m b/SoObjects/SOGo/SOGoContentObject.m index 6090fdde7..7e8c88fa3 100644 --- a/SoObjects/SOGo/SOGoContentObject.m +++ b/SoObjects/SOGo/SOGoContentObject.m @@ -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