mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 16:28:51 +00:00
Monotone-Parent: 5ce544e4196355529d09f53ee1f29a26e0df0733
Monotone-Revision: 2cf3be019f697c04a2f19de8e9693b7b7a1ddf8d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-09T21:37:35 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -75,18 +75,20 @@
|
||||
/* action */
|
||||
|
||||
- (id<WOActionResults>)defaultAction {
|
||||
if ([[self clientObject] record] == nil) {
|
||||
if ([[self clientObject] vCard] == nil) {
|
||||
return [NSException exceptionWithHTTPStatus:404 /* Not Found */
|
||||
reason:@"could not locate contact"];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (BOOL)isDeletableClientObject {
|
||||
return [[self clientObject] respondsToSelector:@selector(delete)];
|
||||
- (BOOL) isDeletableClientObject
|
||||
{
|
||||
return [[self clientObject] respondsToSelector: @selector(delete)];
|
||||
}
|
||||
|
||||
- (id)deleteAction {
|
||||
- (id) deleteAction
|
||||
{
|
||||
NSException *ex;
|
||||
id url;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user