--- a/phonebookui/Phonebook2/NamesListExtension/src/NamesListUiExtensionPlugin.cpp Tue Apr 27 16:23:35 2010 +0300
+++ b/phonebookui/Phonebook2/NamesListExtension/src/NamesListUiExtensionPlugin.cpp Tue May 11 16:00:21 2010 +0300
@@ -734,14 +734,9 @@
// --------------------------------------------------------------------------
//
void CNamesListUIExtensionPlugin::StoreUnavailable
- ( MVPbkContactStore& aContactStore, TInt /*aReason*/ )
+ ( MVPbkContactStore& /*aContactStore*/, TInt /*aReason*/ )
{
- if ( aContactStore.StoreProperties().Name().UriDes().Compare
- ( VPbkContactStoreUris::DefaultCntDbUri() ) && iLocalStore )
- {
- iLocalStore->Close( *this );
- iLocalStore = NULL;
- }
+
}
// --------------------------------------------------------------------------
@@ -767,15 +762,7 @@
{
iLocalStoreContactsCount--;
break;
- }
-
- case TVPbkContactStoreEvent::EStoreBackupRestoreCompleted:
- case TVPbkContactStoreEvent::EUnknownChanges:
- {
- iLocalStoreContactsCount = iLocalStore->StoreInfo().NumberOfContactsL();
- break;
- }
-
+ }
default:
break;
}