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));
|
DataStore.GetNextID(ContactsTableName));
|
||||||
if ceContact <> nil then begin
|
if ceContact <> nil then begin
|
||||||
Result := Execute(ceContact);
|
Result := Execute(ceContact);
|
||||||
|
if not Result then
|
||||||
|
(*
|
||||||
if Result then
|
if Result then
|
||||||
DataStore.PostContacts
|
DataStore.PostContacts
|
||||||
else
|
else
|
||||||
|
*)
|
||||||
ceContact.Free;
|
ceContact.Free;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -859,7 +859,7 @@ begin
|
|||||||
);
|
);
|
||||||
if ceEvent <> nil then begin
|
if ceEvent <> nil then begin
|
||||||
Result := Execute(ceEvent);
|
Result := Execute(ceEvent);
|
||||||
if (not Result) or (ceEvent = nil) then
|
if (not Result) then
|
||||||
ceEvent.Free;
|
ceEvent.Free;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user