method

add_location

add_location(task)
private

Add a location to the locations field of the given task.