adt = adt.Now();
ActListFinDTPtr->insert(std::make_pair(iter->first, adt));
-
- // Delete the connection object.
-
- std::map<int, CardDAV*>::iterator ConnObject = ActListConnPtr->find(iter->first);
- delete ConnObject->second;
- ConnObject->second = NULL;
-
+
}
if (ClearupProcessed == TRUE){
AccountDir = PrefData.accounts.GetAccountDirectory(i);
AccountType = PrefData.accounts.GetAccountType(i);
-
+
if (AccountDir.IsEmpty()){
continue;
}
- if (AccountType == wxT("Local") || AccountType == wxT("local")){
- continue;
+ if (AccountType != wxT("CardDAV") && AccountType != wxT("carddav")){
+ continue;
}
AccountDir.Trim();