mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-12 20:05:08 +00:00
Monotone-Parent: 08b4d9cc0e0c16278d6212f7b7162bddfa4d3bb7
Monotone-Revision: 05d909a34ba534eac7075b29e41a123990cde5e1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-24T18:45:52 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -188,8 +188,8 @@
|
||||
forUser: userLogin];
|
||||
if ([roleString isEqualToString: @"ComponentDAndTViewer"])
|
||||
{
|
||||
[component setObject: @"" forKey: @"title"];
|
||||
[component setObject: @"" forKey: @"location"];
|
||||
[component setObject: @"" forKey: @"c_title"];
|
||||
[component setObject: @"" forKey: @"c_location"];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -265,14 +265,14 @@
|
||||
newInfo = [currentInfos nextObject];
|
||||
while (newInfo)
|
||||
{
|
||||
uid = [newInfo objectForKey: @"uid"];
|
||||
uid = [newInfo objectForKey: @"c_uid"];
|
||||
currentInfo = [infos objectForKey: uid];
|
||||
if (!currentInfo
|
||||
|| [owner isEqualToString: userLogin])
|
||||
{
|
||||
[self _updatePrivacyInComponent: newInfo
|
||||
fromFolder: currentFolder];
|
||||
[newInfo setObject: owner forKey: @"owner"];
|
||||
[newInfo setObject: owner forKey: @"c_owner"];
|
||||
[infos setObject: [newInfo objectsForKeys: fields
|
||||
notFoundMarker: marker]
|
||||
forKey: uid];
|
||||
@@ -325,9 +325,9 @@
|
||||
[self _setupContext];
|
||||
|
||||
newEvents = [NSMutableArray array];
|
||||
fields = [NSArray arrayWithObjects: @"c_name", @"owner", @"status",
|
||||
@"title", @"startdate", @"enddate", @"location",
|
||||
@"isallday", nil];
|
||||
fields = [NSArray arrayWithObjects: @"c_name", @"c_owner", @"c_status",
|
||||
@"c_title", @"c_startdate", @"c_enddate", @"c_location",
|
||||
@"c_isallday", nil];
|
||||
events = [[self _fetchFields: fields
|
||||
forComponentOfType: @"vevent"] objectEnumerator];
|
||||
oldEvent = [events nextObject];
|
||||
@@ -396,8 +396,8 @@
|
||||
|
||||
[self _setupContext];
|
||||
|
||||
fields = [NSArray arrayWithObjects: @"c_name", @"owner", @"status",
|
||||
@"title", @"enddate", nil];
|
||||
fields = [NSArray arrayWithObjects: @"c_name", @"c_owner", @"c_status",
|
||||
@"c_title", @"c_enddate", nil];
|
||||
|
||||
tasks = [[self _fetchFields: fields
|
||||
forComponentOfType: @"vtodo"] objectEnumerator];
|
||||
|
||||
Reference in New Issue
Block a user