Skip to content

Commit

Permalink
Don't use created_by tag on map objects #4-github
Browse files Browse the repository at this point in the history
 The created_by tag is now only added to changesets.
  • Loading branch information
kenguest committed Apr 9, 2014
1 parent 7317151 commit 5f90728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Services/OpenStreetMap/API/V06.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ public function createNode($latitude, $longitude, array $tags = array())
$node->setLon($longitude);
$node->setXml(simplexml_load_string($xml));
$node->setId($this->newId--);
$node->setTag('created_by', $userAgent);
if (!empty($tags)) {
foreach ($tags as $key => $value) {
$node->setTag($key, $value);
Expand Down Expand Up @@ -360,8 +359,9 @@ public function getWay($wayID, $version = null)
/**
* getWayFull
*
* @param mixed $wayID
* @param mixed $version
* @param mixed $wayID wayID
* @param mixed $version Version of way
*
* @return void
* @note: do a similary getRelationFull method also
*/
Expand Down

0 comments on commit 5f90728

Please sign in to comment.