Commit 209f5bab authored by Simon Pastor's avatar Simon Pastor
Browse files

remove commented code

parent 59a897a0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1265,12 +1265,8 @@ func updateUserInfo(address string, zoneId string, accessPointId string) {
		oldZoneId = userInfo.ZoneId
		oldApId = userInfo.AccessPointId

		//	if zoneId != "" {
		userInfo.ZoneId = zoneId
		//	}
		//	if accessPointId != "" {
		userInfo.AccessPointId = accessPointId
		//	}

		//updateDB
		_ = rc.JSONSetEntry(baseKey+typeUser+":"+address, ".", convertUserInfoToJson(userInfo))
+0 −2
Original line number Diff line number Diff line
@@ -304,10 +304,8 @@ func checkNotificationRegisteredSubscriptions(appId string, assocId *AssociateId

			if match && ((sub.FilterCriteria.Plmn == nil) || (sub.FilterCriteria.Plmn != nil && ((newPlmn != nil && newPlmn.Mnc == sub.FilterCriteria.Plmn.Mnc && newPlmn.Mcc == sub.FilterCriteria.Plmn.Mcc) || (oldPlmn != nil && oldPlmn.Mnc == sub.FilterCriteria.Plmn.Mnc && oldPlmn.Mcc == sub.FilterCriteria.Plmn.Mcc)))) {
				match = true

			} else {
				match = false

			}

			//loop through all cellIds