persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp
changeset 14 15018f1726c7
parent 1 c084286672be
child 15 3eacc0623088
equal deleted inserted replaced
1:c084286672be 14:15018f1726c7
   446 		{		
   446 		{		
   447 		// Reset against install repository if only the install file exists
   447 		// Reset against install repository if only the install file exists
   448 		TServerResources::iObserver->LoadRepositoryLC(uid, ETrue, defaultRepository, CIniFileIn::EInstallOnly);		
   448 		TServerResources::iObserver->LoadRepositoryLC(uid, ETrue, defaultRepository, CIniFileIn::EInstallOnly);		
   449 		}
   449 		}
   450 	else
   450 	else
   451 		{	
   451 		{
       
   452         // The repository must exist in the ROM or install directory (or both). 
       
   453         ASSERT(romExists || installExists);
   452 		// Reset against empty repository if neither ROM or install file are found
   454 		// Reset against empty repository if neither ROM or install file are found
   453 		defaultRepository = CSharedRepository::NewL(uid);
   455 		defaultRepository = CSharedRepository::NewL(uid);
   454 		CleanupStack::PushL(defaultRepository);
   456 		CleanupStack::PushL(defaultRepository);
   455 		}
   457 		}
   456 
   458