mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-30 02:02:36 +00:00 
			
		
		
		
	Adding tree import.
This commit is contained in:
		| @@ -166,7 +166,9 @@ namespace OpenWifi { | ||||
|             else { | ||||
|                 Storage()->EntityDB().AddChild("id",E.parent,E.info.id); | ||||
|             } | ||||
|             Storage()->EntityDB().GetRecord("id",E.info.id,E); | ||||
|             ProvObjects::Entity NE; | ||||
|             Storage()->EntityDB().GetRecord("id",E.info.id,NE); | ||||
|             E = NE; | ||||
|             return true; | ||||
|         } | ||||
|         return false; | ||||
|   | ||||
| @@ -57,8 +57,9 @@ namespace OpenWifi { | ||||
|                 Storage()->ContactDB().AddInUse("id",V.contact, Storage()->VenueDB().Prefix(), V.info.id); | ||||
|             if(!V.managementPolicy.empty()) | ||||
|                 Storage()->PolicyDB().AddInUse("id",V.managementPolicy, Storage()->VenueDB().Prefix(), V.info.id); | ||||
|  | ||||
|             Storage()->VenueDB().GetRecord("id",V.info.id,V); | ||||
|             ProvObjects::Venue  NV; | ||||
|             Storage()->VenueDB().GetRecord("id",V.info.id,NV); | ||||
|             V = NV; | ||||
|             return true; | ||||
|         } | ||||
|         return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959