- def update_internal way, new_way
- way = Way.find(new_way.id) if way.nil?
-
- if !new_way.preconditions_ok?
- return false
- else
- way.user_id = @user.id
- way.tags = new_way.tags
- way.nds = new_way.nds
- way.visible = true
- way.save_with_history!
-
- return true
- end
- end
-