cmmanager/cmmgr/Framework/Src/cmmanagerimpl.cpp
branchRCL_3
changeset 69 cf1b3ddbe9a1
parent 58 83ca720e2b9a
--- a/cmmanager/cmmgr/Framework/Src/cmmanagerimpl.cpp	Wed Sep 15 12:38:40 2010 +0300
+++ b/cmmanager/cmmgr/Framework/Src/cmmanagerimpl.cpp	Wed Oct 13 14:59:48 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -712,17 +712,10 @@
     // Two instances of class CCmCommsDatNotifier are created here and
     // referred by all watchers in CmManager. One is to watch change in Iap Table
     // and the other is to watch change in Snap Table.
-    
-    if ( iCommsDatIapNotifier == NULL )
-        {
-        iCommsDatIapNotifier = CCmCommsDatNotifier::NewL( KCDTIdIAPRecord );
-        }
+    iCommsDatIapNotifier = CCmCommsDatNotifier::NewL( KCDTIdIAPRecord );
     
-    if ( iCommsDatSnapNotifier == NULL )
-        {
-        TUint32 snapTableId = GetSnapTableIdL();
-        iCommsDatSnapNotifier = CCmCommsDatNotifier::NewL( snapTableId );
-        }
+    TUint32 snapTableId = GetSnapTableIdL();
+    iCommsDatSnapNotifier = CCmCommsDatNotifier::NewL( snapTableId );
     }
 
 //=============================================================================