You've already forked lazarus-ccr
tvplanit: Fix duplicate storage of contacts (hopefully..). Remove unnecessary code from event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5179 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -954,9 +954,12 @@ begin
|
||||
DataStore.GetNextID(ContactsTableName));
|
||||
if ceContact <> nil then begin
|
||||
Result := Execute(ceContact);
|
||||
if not Result then
|
||||
(*
|
||||
if Result then
|
||||
DataStore.PostContacts
|
||||
else
|
||||
*)
|
||||
ceContact.Free;
|
||||
end;
|
||||
end;
|
||||
|
@ -859,7 +859,7 @@ begin
|
||||
);
|
||||
if ceEvent <> nil then begin
|
||||
Result := Execute(ceEvent);
|
||||
if (not Result) or (ceEvent = nil) then
|
||||
if (not Result) then
|
||||
ceEvent.Free;
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user