Fix some comments to reflect reality.
This commit is contained in:
parent
961020a5dc
commit
912f708d62
1 changed files with 10 additions and 7 deletions
|
@ -448,10 +448,12 @@ class AmfController < ApplicationController
|
||||||
|
|
||||||
# Get a relation with all tags and members.
|
# Get a relation with all tags and members.
|
||||||
# Returns:
|
# Returns:
|
||||||
# 0. relation id,
|
# 0. success code?
|
||||||
# 1. hash of tags,
|
# 1. object type?
|
||||||
# 2. list of members,
|
# 2. relation id,
|
||||||
# 3. version.
|
# 3. hash of tags,
|
||||||
|
# 4. list of members,
|
||||||
|
# 5. version.
|
||||||
|
|
||||||
def getrelation(relid) #:doc:
|
def getrelation(relid) #:doc:
|
||||||
begin
|
begin
|
||||||
|
@ -690,9 +692,10 @@ logger.info("saving with #{pointlist}")
|
||||||
# Refuses save if the node has since become part of a way.
|
# Refuses save if the node has since become part of a way.
|
||||||
# Returns array with:
|
# Returns array with:
|
||||||
# 0. 0 (success),
|
# 0. 0 (success),
|
||||||
# 1. original node id (unchanged),
|
# 1. success message,
|
||||||
# 2. new node id,
|
# 2. original node id (unchanged),
|
||||||
# 3. version.
|
# 3. new node id,
|
||||||
|
# 4. version.
|
||||||
|
|
||||||
def putpoi(usertoken, changeset_id, version, id, lon, lat, tags, visible) #:doc:
|
def putpoi(usertoken, changeset_id, version, id, lon, lat, tags, visible) #:doc:
|
||||||
user = getuser(usertoken)
|
user = getuser(usertoken)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue